Category: haskell

  • Learning Haskell Day 2

    Learning Haskell Day 2

    On day 1 of learning Haskell and going through advent of code, we used foldl to move up and down floors to see what floor we ended up on. Day 2 is trickier as we need to do the same, but stop when we reach floor -1 for the first time. The result is how…

  • Learning Haskell Day 1

    Learning Haskell Day 1

    I have been wanting to learn some functional programming and what better language to start with the original, at least I think it is the original. It is a pure functional language so I guess will force me to think differently than what I’m used to. I am using the first AdventOfCode to learn it,…