it was cool to see all my iterations pretty much work instantly after spending such a long time just refining types. payoff was huge
https://replit.com/@aucep/nix-case-of
case "w"
of "x" []
of "y" [1]
of' (x: x != "w") (x: x)
default (x: "o" + x)
# => "ow"
anyways time to use this in aoc or something (was that why i started doing this?)
