riichi/include/lazy.hrl

8 lines
130 B
Erlang
Raw Permalink Normal View History

2013-06-15 03:43:46 +00:00
-define(LAZY(Expr), fun() ->
Expr
end).
-define(FORCE(Expr), apply(Expr, [])).