Share via


FSharpFunc.Adapt<'T1,'T2,'U>-Methode (F#)

Passt einen F#-Funktionswert erster Klasse als optimierten Funktionswert an, der zwei Curry-Argumente ohne dazwischenliegende Ausführung akzeptieren kann.

Namespace/Modulpfad: Microsoft.FSharp.Core.OptimizedClosures

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

// Signature:
static member FSharpFunc.Adapt : ('T1 -> 'T2 -> 'U) -> FSharpFunc<'T1,'T2,'U>

// Usage:
FSharpFunc.Adapt (func)

Parameter

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

    Die Eingabefunktion.

Rückgabewert

Die angepasste Funktion.

Plattformen

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

Versionsinformationen

F#-Runtime

Unterstützt in: 2.0, 4.0

Silverlight

Unterstützt in: 3

Siehe auch

Weitere Ressourcen

OptimizedClosures.FSharpFunc<'T1,'T2,'U>-Klasse (F#)

Core.OptimizedClosures-Modul (F#)