Core.FuncConvert Class (F#)

Helper functions for converting F# first class function values to and from .NET Framework representations of functions using delegates.

Namespace/Module Path: Microsoft.FSharp.Core

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

[<AbstractClass>]
[<Sealed>]
type FuncConvert =
 class
  static member FuncFromTupled : ('T1 * 'T2 * 'T3 * 'T4 * 'T5 -> 'U) -> 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'T5 -> 'U
  static member FuncFromTupled : ('T1 * 'T2 * 'T3 * 'T4 -> 'U) -> 'T1 -> 'T2 -> 'T3 -> 'T4 -> 'U
  static member FuncFromTupled : ('T1 * 'T2 * 'T3 -> 'U) -> 'T1 -> 'T2 -> 'T3 -> 'U
  static member FuncFromTupled : ('T1 * 'T2 -> 'U) -> 'T1 -> 'T2 -> 'U
  static member ToFSharpFunc : Converter<'T,'U> -> 'T -> 'U
  static member ToFSharpFunc : Action<'T> -> 'T -> unit
 end

Member

Description

FuncFromTupled

A utility function to convert function values from tupled to curried form.

FuncFromTupled

A utility function to convert function values from tupled to curried form.

FuncFromTupled

A utility function to convert function values from tupled to curried form.

FuncFromTupled

A utility function to convert function values from tupled to curried form.

ToFSharpFunc

Convert the given Converter<TInput, TOutput> delegate object to an F# function value.

ToFSharpFunc

Convert the given Action<T> delegate object to an F# function value.

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

F# Core Library Versions

Supported in: 2.0, 4.0, Portable

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft