generate purescript code from haskell code.