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

CompilerServices.RuntimeHelpers Module (F#)

Den Delimarsky|Last Updated: 7/5/2016
|
1 Contributor

A group of functions used as part of the compiled representation of F# sequence expressions.

Namespace/Module Path: Microsoft.FSharp.Core.CompilerServices

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

Syntax

module RuntimeHelpers

Values

ValueDescription
CreateEvent
: ('Delegate -> unit) -> ('Delegate -> unit) -> ((obj -> 'Args -> unit) -> 'Delegate) -> IEvent<'Delegate,'Args>
Creates an anonymous event with the given handlers.
EnumerateFromFunctions
: (unit -> 'T) -> ('T -> bool) -> ('T -> 'U) -> seq<'U>
The F# compiler emits calls to this function to implement the compiler-intrinsic conversions from weakly typed System.Collections.IEnumerable sequences to typed sequences.
EnumerateThenFinally
: seq<'T> -> (unit -> unit) -> seq<'T>
The F# compiler emits calls to this function to implement the try...finally construct for F# sequence expressions.
EnumerateUsing
: 'T -> ('T -> 'Collection) -> seq<'U>
The F# compiler emits calls to this function to implement the use keyword for F# sequence expressions.
EnumerateWhile
: (unit -> bool) -> seq<'T> -> seq<'T>
The F# compiler emits calls to this function to implement the while keyword for F# sequence expressions.

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

See Also

Microsoft.FSharp.Core.CompilerServices Namespace (F#)

© 2017 Microsoft