Fix types of Haskell workaround example.