[Home] Module Microsoft.FSharp.Core.Func


Deprecated Values

ValueDescription
[<Obsolete ("This function will be removed in a future version of F#")>]
val apply : ('a -> 'b) -> 'a -> 'b

Note: This function will be removed in a future version of F#

Applies the function to its argument; apply f x = f x
[<Obsolete ("This function will be removed in a future version of F#")>]
val compose : ('a -> 'b) -> ('b -> 'c) -> ('a -> 'c)

Note: This function will be removed in a future version of F#

Composes two functions f and g; the new function if g (f x)
[<Obsolete ("This function will be removed in a future version of F#")>]
val foldUntil : ('a -> 'a option) -> 'a -> 'a

Note: This function will be removed in a future version of F#

Repeatedly calls the function until it returns 'None'. To avoid infinite loops, foldUntil should only be used if the function provided has side-effects.
[<Obsolete ("This function will be removed in a future version of F#")>]
val repeatN : int -> ('a -> 'a) -> 'a -> 'a

Note: This function will be removed in a future version of F#

Repeats the function N times and computes f (f (... (f x)))
[<Obsolete ("This function will be removed in a future version of F#")>]
val repeatUntil : (unit -> bool) -> unit

Note: This function will be removed in a future version of F#

Repeats a function until it returns true. To avoid infinite loops, repeatUntil should only be used if the function provided has side-effects.

See Also

Microsoft.FSharp.Core


Documentation for assembly FSharp.Core, version 1.9.4.19, generated using F# version 1.9.4.19