binder v0.1.0 Binder.Maybe
Handles nil, so the functions don’t have to
This module fills out the required interface, but many of the functions are somewhat irrelevant because there is no wrapping datatype (a la Maybe in Haskell)
Link to this section Summary
Functions
Exactly like map. Technically has a different signature:
Simply the identity
true if value is not nil
Simply nil
true if value is nil
Link to this section Functions
Link to this function
bind(x, f)
Exactly like map. Technically has a different signature:
Link to this function
just(x)
Simply the identity
Link to this function
just?(arg1)
true if value is not nil
Link to this function
map(x, f)
Link to this function
nothing()
Simply nil
Link to this function
nothing?(arg1)
true if value is nil