Haskell compilation works