Repair haskell interface generation