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 8, Windows 7, Windows Server 2012, Windows Server 2008 R2
Version Information
F# Core Library Versions
Supported in: 2.0, 4.0, Portable, Portable