Current section
Files
Jump to
Current section
Files
src/do_applicative.erl
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% @doc
%%% @end
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%_* Module declaration ======================================================
-module(do_applicative).
%%%_* Includes ================================================================
-include("include/do_types.hrl").
%%%_* Callbacks ===============================================================
-callback pure(A) -> applicative(A).
-callback liftA2(fn(A, A, B), functor(A), functor(A)) -> functor(B).
%%%_* Tests ===================================================================
-ifdef(TEST).
-include_lib("eunit/include/eunit.hrl").
-endif.