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] | map(A) | fn(term(), A) | either(term(), A) | maybe(A)
map(A) = #{term() := A}
maybe(A) = {just, A} | nothing
fmap/2 |
Generated by EDoc