My attempts at learning Haskell