This package provides a way to do laziness in Elxir. Contains functions to build thunks from elixir terms and combinators for more complex computations.
Available in Hex, the package can be installed
by adding thunk
to your list of dependencies in mix.exs
:
def deps do
[
{:thunk, "~> 0.4.0"}
]
end
The docs can be found at https://hexdocs.pm/thunk.