OperatorIntrinsics.RangeStepGeneric<'Step,'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:
RangeStepGeneric : 'Step -> ('T -> 'Step -> 'T) -> 'T -> 'Step -> 'T -> seq<'T>
// Usage:
RangeStepGeneric zero add start step stop
Parameters
zero
Type: 'StepThe zero value for the step type.
add
Type: 'T -> 'Step -> 'TAn addition function that adds a value and the step to produce another value.
start
Type: 'TThe starting value.
step
Type: 'StepThe increment to the value on each iteration.
stop
Type: 'TThe final value.
Return Value
An enumerable sequence of values starting with start, incrementing by step, and ending with stop.
Remarks
This function is for use by compiled F# code and should not be used directly.
Platforms
Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2
Version Information
F# Runtime
Supported in: 2.0, 4.0
Silverlight
Supported in: 3