Literate Haskell example

This pull request adds a literate Haskell example to the haskell folder.