Functions inspired by haskell and ruby(activesupport).
The documentation is here
def deps do
[{:func, "~> 0.3.0"}]
end
use Func
or import the respective module.
use Func
# or
import Func.{Function, Maybe}
{:ok, pid} = Agent.start_link(always(1))
Agent.get(pid, id()) #=> 1