Trying to solve day 1 of the #adventofcode 2023 in #haskell.
I do not really understand what I'm doing here...
... but it works. 🤣
[#]learning #haskell
=> More informations about this toot | More toots from ceedee666@mastodon.social
@ceedee666
read $ [head s] <> [last s] could also be written read [head s, last s].
=> More informations about this toot | More toots from barubary@infosec.exchange
@barubary of cause. This makes sense.
Wouldn’t have been able to write it myself. I guess that’s the kind of construct you have to see once first.
=> More informations about this toot | More toots from ceedee666@mastodon.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini