Haskell stuff.