Header menu logo FSharp.Core

FSharpFunc<'T, 'U> Type

The CLI type used to represent F# function values. This type is not typically used directly, though may be used from other CLI languages.

Constructors

Constructor Description

FSharpFunc()

Full Usage: FSharpFunc()

Returns: FSharpFunc<'T, 'U> The created F# function.

Construct an instance of an F# first class function value

Returns: FSharpFunc<'T, 'U>

The created F# function.

Instance members

Instance member Description

this.Invoke

Full Usage: this.Invoke

Parameters:
    func : 'T -

Returns: 'U 'U
Modifiers: abstract

Invoke an F# first class function value with one argument

func : 'T

Returns: 'U

'U

Static members

Static member Description

FSharpFunc.FromConverter(converter)

Full Usage: FSharpFunc.FromConverter(converter)

Parameters:
    converter : Converter<'T, 'U> - The input System.Converter.

Returns: 'T -> 'U An F# function of the same type.

Convert an value of type Converter to a F# first class function value

converter : Converter<'T, 'U>

The input System.Converter.

Returns: 'T -> 'U

An F# function of the same type.

FSharpFunc.InvokeFast(func, arg1, arg2)

Full Usage: FSharpFunc.InvokeFast(func, arg1, arg2)

Parameters:
    func : FSharpFunc<'T, ('U -> 'V)> - The input function.
    arg1 : 'T - The first arg.
    arg2 : 'U - The second arg.

Returns: 'V The function result.

Invoke an F# first class function value with two curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

func : FSharpFunc<'T, ('U -> 'V)>

The input function.

arg1 : 'T

The first arg.

arg2 : 'U

The second arg.

Returns: 'V

The function result.

FSharpFunc.InvokeFast(func, arg1, arg2, arg3)

Full Usage: FSharpFunc.InvokeFast(func, arg1, arg2, arg3)

Parameters:
    func : FSharpFunc<'T, ('U -> 'V -> 'W)> - The input function.
    arg1 : 'T - The first arg.
    arg2 : 'U - The second arg.
    arg3 : 'V - The third arg.

Returns: 'W The function result.

Invoke an F# first class function value with three curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

func : FSharpFunc<'T, ('U -> 'V -> 'W)>

The input function.

arg1 : 'T

The first arg.

arg2 : 'U

The second arg.

arg3 : 'V

The third arg.

Returns: 'W

The function result.

FSharpFunc.InvokeFast(func, arg1, arg2, arg3, arg4)

Full Usage: FSharpFunc.InvokeFast(func, arg1, arg2, arg3, arg4)

Parameters:
    func : FSharpFunc<'T, ('U -> 'V -> 'W -> 'X)> - The input function.
    arg1 : 'T - The first arg.
    arg2 : 'U - The second arg.
    arg3 : 'V - The third arg.
    arg4 : 'W - The fourth arg.

Returns: 'X The function result.

Invoke an F# first class function value with four curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

func : FSharpFunc<'T, ('U -> 'V -> 'W -> 'X)>

The input function.

arg1 : 'T

The first arg.

arg2 : 'U

The second arg.

arg3 : 'V

The third arg.

arg4 : 'W

The fourth arg.

Returns: 'X

The function result.

FSharpFunc.InvokeFast(func, arg1, arg2, arg3, arg4, arg5)

Full Usage: FSharpFunc.InvokeFast(func, arg1, arg2, arg3, arg4, arg5)

Parameters:
    func : FSharpFunc<'T, ('U -> 'V -> 'W -> 'X -> 'Y)> - The input function.
    arg1 : 'T - The first arg.
    arg2 : 'U - The second arg.
    arg3 : 'V - The third arg.
    arg4 : 'W - The fourth arg.
    arg5 : 'X - The fifth arg.

Returns: 'Y The function result.

Invoke an F# first class function value with five curried arguments. In some cases this will result in a more efficient application than applying the arguments successively.

func : FSharpFunc<'T, ('U -> 'V -> 'W -> 'X -> 'Y)>

The input function.

arg1 : 'T

The first arg.

arg2 : 'U

The second arg.

arg3 : 'V

The third arg.

arg4 : 'W

The fourth arg.

arg5 : 'X

The fifth arg.

Returns: 'Y

The function result.

FSharpFunc.ToConverter(func)

Full Usage: FSharpFunc.ToConverter(func)

Parameters:
    func : 'T -> 'U - The input function.

Returns: Converter<'T, 'U> System.Converter<'T,'U>

Convert an F# first class function value to a value of type Converter

func : 'T -> 'U

The input function.

Returns: Converter<'T, 'U>

System.Converter<'T,'U>

FSharpFunc.op_Implicit converter

Full Usage: FSharpFunc.op_Implicit converter

Parameters:
    converter : Converter<'T, 'U> - The input System.Converter.

Returns: 'T -> 'U An F# function of the same type.

Convert an value of type Converter to a F# first class function value

converter : Converter<'T, 'U>

The input System.Converter.

Returns: 'T -> 'U

An F# function of the same type.

FSharpFunc.op_Implicit func

Full Usage: FSharpFunc.op_Implicit func

Parameters:
    func : 'T -> 'U - The input function.

Returns: Converter<'T, 'U> A System.Converter of the function type.

Convert an F# first class function value to a value of type Converter

func : 'T -> 'U

The input function.

Returns: Converter<'T, 'U>

A System.Converter of the function type.

Type something to start searching.