Basics of Haskell solutions