riichi/include/lazy.hrl
2013-06-14 23:43:46 -04:00

7 lines
130 B
Erlang

-define(LAZY(Expr), fun() ->
Expr
end).
-define(FORCE(Expr), apply(Expr, [])).