Some practical examples of common Haskell tasks