Re:The Eval Game
by ashleney on Thursday December 07, 2023 @04:26AM
(#38554519)
pretty sure the point is that it's supposed to be in one line
[ Parent
| on HN ]
It's supposed to be a single expression. You can write multiple lines by encasing the expression with parentheses.
Thanks, not sure if if it's doable without walrus operator, which I've not had the occasion for previously.
Re:The Eval Game
by 082349872349872 on Thursday December 07, 2023 @07:32AM
(#38555638)
Possible w/out walrus
(but —due to walrus' rather expansive notions of scope— the sol'ns using it are shorter)