This module defines the do_functor behaviour.
Required callback functions: fmap/2.
either(A, B) = {error, A} | {ok, B}
fn(A, B) = fun((A) -> B)
functor(A) = [A] | #{term() := A} | fn(term(), A) | either(term(), A) | maybe(A)
maybe(A) = {ok, A} | error
fmap/2 |
Generated by EDoc