function
library
Functions
-
identity<T>(T value)
→ T
-
A functions that directly returns whatever was given to it.
-
lazy<A>(A value)
→ Lazy<A>
-
Return a Lazy version of
value
.
-
memo1<A, R>(R f(A))
→ R Function(A)
-
memo-ize the given function, caching the return result.
-
memo2<A, B, R>(R f(A, B))
→ R Function(A, B)
-
memo-ize the given function, caching the return result.
-
memo3<A, B, C, R>(R f(A, B, C))
→ R Function(A, B, C)
-
memo-ize the given function, caching the return result.
-
memo4<A, B, C, D, R>(R f(A, B, C, D))
→ R Function(A, B, C, D)
-
memo-ize the given function, caching the return result.
Typedefs
-
Lazy<A>
= A Function()
-
Represents a lazy value, which is a value returned from a function without
arguments.