3 ms·
In a eagerly evaluating functional language you could always wrap the arguments in a thunk: So if your built-in functions were implemented in Python, you'd use
by choeger 3y ago
In a eagerly evaluating functional language you could always wrap the arguments in a thunk:
So if your built-in functions were implemented in Python, you'd use:
def if_(cond, t, e):
if cond:
return t()
else:
return e()
- deleted 3y ago[deleted]