OperatorIntrinsics.RangeGeneric<'T> Function (F#)
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
Parameters
one
Type: 'TThe value representing 1 for the type parameter.
add
Type: 'T -> 'T -> 'TA function that performs addition to the type parameter.
start
Type: 'TThe start of the range.
stop
Type: 'TThe end of the range.
Return Value
An enumerable sequence representing a range of values.
Remarks
This function is for use by compiled F# code and should not be used directly.
Platforms
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