Wonderland v0.1.1 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 of Wonderland.Data.Thunk λ-type, otherwise returns false

Link to this section Types

Link to this section Functions

  • Accepts any term
  • Returns true if term is value of Wonderland.Data.Thunk λ-type, otherwise returns false