3 ms·
> But the first one does not: > > 42 (+ if 1 < 0 else *) 100 Of course it does: from operator import add, mul (add if 1 < 0 else mul)(42, 100)
by masklinn 4y ago
> But the first one does not:
>
> 42 (+ if 1 < 0 else *) 100
Of course it does:
from operator import add, mul
(add if 1 < 0 else mul)(42, 100)
- klysm 4y agoOkay but not really, I’m lispy languages everything is an expression. And it’s monoiconic
- deleted 4y ago[deleted]