Learning Haskell examples