Various code pieces created while attempting to learn FP with Haskell