Table of contents
Collapse the table of content
Expand the table of content

OperatorIntrinsics.RangeGeneric<'T> Function (F#)

Den Delimarsky|Last Updated: 8/18/2017
1 Contributor

Generates a range of values using the given zero, add, start, step and stop values.

Namespace/Module Path: Microsoft.FSharp.Core.Operators.OperatorIntrinsics

Assembly: FSharp.Core (in FSharp.Core.dll)


// Signature:
RangeGeneric : 'T -> ('T -> 'T -> 'T) -> 'T -> 'T -> seq<'T>

// Usage:
RangeGeneric one add start stop


one Type: 'T

The value representing 1 for the type parameter.

add Type: 'T -> 'T -> 'T

A function that performs addition to the type parameter.

start Type: 'T

The start of the range.

stop Type: 'T

The end of the range.

Return Value

An enumerable sequence representing a range of values.


This function is for use by compiled F# code and should not be used directly.


Windows 8, Windows 7, Windows Server 2012, Windows Server 2008 R2

Version Information

F# Core Library Versions

Supported in: 2.0, 4.0, Portable, Portable

See Also

Operators.OperatorIntrinsics Module (F#)

Core.Operators Module (F#)

© 2020 Microsoft