This module defines the do_foldable behaviour.
Required callback functions: foldr/3.
Optional callback functions: fold_map/2.
either(A, B) = {error, A} | {ok, B}
fn(A, B, C) = fun((A, B) -> C)
foldable(A) = [A] | maybe(A) | either(term(), A)
maybe(A) = {just, A} | nothing
foldr/3 |
Generated by EDoc