Static methods

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

staticcurry<P1, P2, P3, P4, P5, R> (f:P1 ‑> P2 ‑> P3 ‑> P4 ‑> P5 ‑> R):P1 ‑> P2 ‑> P3 ‑> P4 ‑> P5 ‑> 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, P4, P5, R> (f:P1 ‑> P2 ‑> P3 ‑> P4 ‑> P5 ‑> R):P1 ‑> P2 ‑> P3 ‑> P4 ‑> P5 ‑> Void

Produces a function that calls f, ignoring the result.

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

Method equals.

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

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

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

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

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

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

staticswallowWith<A, B, C, D, E, R> (f:A ‑> B ‑> C ‑> D ‑> E ‑> R, def:R):A ‑> B ‑> C ‑> D ‑> E ‑> 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, P4, P5, R> (f:P1 ‑> P2 ‑> P3 ‑> P4 ‑> P5 ‑> R):P1 ‑> P2 ‑> P3 ‑> P4 ‑> P5 ‑> 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,