Static methods

staticccw<P1, P2, P3, R> (f:P1 ‑> P2 ‑> P3 ‑> R):P2 ‑> P3 ‑> P1 ‑> R

Places first parameter at the back.

staticcurry<P1, P2, P3, R> (f:P1 ‑> P2 ‑> P3 ‑> R):P1 ‑> P2 ‑> P3 ‑> R

Produces a function that produces a function for each parameter in the originating function. When these functions have been called, the result of the original function is produced.

staticenclose<P1, P2, P3, R> (f:P1 ‑> P2 ‑> P3 ‑> R):P1 ‑> P2 ‑> P3 ‑> Void

Produces a function that calls f, ignoring the result.

staticequals<P1, P2, P3, R> (a:P1 ‑> P2 ‑> P3 ‑> R, b:P1 ‑> P2 ‑> P3 ‑> R):Bool

Compares function identity.

staticlazy<P1, P2, P3, R> (f:P1 ‑> P2 ‑> P3 ‑> R, p1:P1, p2:P2, p3:P3):Thunk<R>

Produdes a function that calls f with the given parameters p1....pn.

staticreturning<P1, P2, P3, R1, R2> (f:P1 ‑> P2 ‑> P3 ‑> R1, thunk:Thunk<R2>):P1 ‑> P2 ‑> P3 ‑> R2

Produces a function that calls f, ignores its result, and returns the result produced by thunk.

staticswallow<A, B, C> (f:A ‑> B ‑> C ‑> Void):A ‑> B ‑> C ‑> Void

Produces a function that ignores any error the occurs whilst calling the input function.

staticswallowWith<A, B, C, R> (f:A ‑> B ‑> C ‑> R, d:R):A ‑> B ‑> C ‑> R

Produces a function that ignores any error the occurs whilst calling the input function, and produces d if error occurs.

staticuncurry<P1, P2, P3, R> (f:P1 ‑> P2 ‑> P3 ‑> R):P1 ‑> P2 ‑> P3 ‑> R

Takes a function with one parameter that returns a function of one parameter, and produces a function that takes two parameters that calls the two functions sequentially,

staticuncurry2<P1, P2, P3, R> (f:P1 ‑> P2 ‑> P3 ‑> R):P1 ‑> P2 ‑> P3 ‑> R