poished cabal file and fixed example