[Haskell-cafe] Rewriting a Python application to Haskell