FSharp.Core


FSharpFunc<'T1, 'T2, 'U> Type

The CLI type used to represent F# function values that accept two iterated (curried) arguments without intervening execution. This type should not typically used directly from either F# code or from other CLI languages.

Constructors

Constructor Description

FSharpFunc()

Full Usage: FSharpFunc()

Returns: FSharpFunc<'T1, 'T2, 'U> The optimized function.

Construct an optimized function value that can accept two curried arguments without intervening execution.

Returns: FSharpFunc<'T1, 'T2, 'U>

The optimized function.

Instance members

Instance member Description

this.Invoke

Full Usage: this.Invoke

Parameters:
    arg1 : 'T1 - The first arg.
    arg2 : 'T2 - The second arg.

Returns: 'U The function result.
Modifiers: abstract

Invoke the optimized function value with two curried arguments

arg1 : 'T1

The first arg.

arg2 : 'T2

The second arg.

Returns: 'U

The function result.

Static members

Static member Description

FSharpFunc.Adapt(func)

Full Usage: FSharpFunc.Adapt(func)

Parameters:
    func : 'T1 -> 'T2 -> 'U - The input function.

Returns: FSharpFunc<'T1, 'T2, 'U> The adapted function.

Adapt an F# first class function value to be an optimized function value that can accept two curried arguments without intervening execution.

func : 'T1 -> 'T2 -> 'U

The input function.

Returns: FSharpFunc<'T1, 'T2, 'U>

The adapted function.