Aside from the general conciseness, the "universal function call syntax" is my favorite aspect of nim.
If you want to take chaining procedures to the next level, try a concatenative language like Factor (I have a day 4 solution in this thread -- with no assignment to variables).
I also suggest having a look at Roc if you want a functional programming adventure, which offers great chaining syntax, a very friendly community, and is in an exciting development phase.
I have a hard time getting into a distro describing itself with a completely non-communicative "word" like "dragonized" but with numbers instead of letters. I thought it was cool when they provided a bunch of different desktops for live images (like wayfire), but they cut down on those.
Did you find Chakra to add anything to the Arch experience? I worry that it might be "like Arch, but maybe some non-Qt stuff won't work."
If you give CachyOS a try please report back! To me that's the most interesting Arch-topper right now.
I use it and like it, kinda, but it bothers me that it destroys output as it goes along, so you can't look away then scroll up to see everything you missed.
day := 1;
import "advent-prelude.noul";
puzzle_input := advent_input();
submit! 1, puzzle_input split "\n\n" map ints map sum then max;
submit! 2, puzzle_input split "\n\n" map ints map sum then sort then (_[-3:]) then sum;
Looks not too different from what you might do in Factor:
Aside from the general conciseness, the "universal function call syntax" is my favorite aspect of nim.
If you want to take chaining procedures to the next level, try a concatenative language like Factor (I have a day 4 solution in this thread -- with no assignment to variables).
I also suggest having a look at Roc if you want a functional programming adventure, which offers great chaining syntax, a very friendly community, and is in an exciting development phase.