News for hackers. Stuff that matters.
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
Re:The Eval Game by xoranth on Thursday December 07, 2023 @04:35AM (#38554568)
It's supposed to be a single expression. You can write multiple lines by encasing the expression with parentheses.
Re:The Eval Game by bagels on Thursday December 07, 2023 @04:38AM (#38554583)
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)