merge haskell codegenerator