Wonderland v0.1.2 Wonderland.Data.Thunk View Source
Enables lazy evaluation
Examples
iex> x = "BANG" |> raise() |> lift(Thunk)
iex> unlift(x)
** (RuntimeError) BANG
Link to this section Summary
Functions
- Accepts any term
- Returns
true
if term is value ofWonderland.Data.Thunk
λ-type, otherwise returnsfalse
Link to this section Types
Link to this section Functions
- Accepts any term
- Returns
true
if term is value ofWonderland.Data.Thunk
λ-type, otherwise returnsfalse