Some examples in Haskell