5 ms·
if(condition, do: a, else: b) looks like a function, but that implies Elixir does lazy evaluation so that only one of a or b gets evaluated. Or is something e
by thyrsus 13y ago
if(condition, do: a, else: b)
looks like a function, but that implies Elixir does lazy evaluation so that only one of a or b gets evaluated. Or is something else going on?
- devinus 13y agoif is a macro.