1 -module(hope_gen_monad).
9 -callback map(t(A), fun((A) -> (B))) ->
12 %% @doc "pipe" is equivalent to traditional "bind", in general use-case, but is
13 %% arguably more useful for composition in Erlang's syntactic setting.
15 -callback pipe([fun((A) -> t(B))], A) ->