[Haskell] Non-trivial transformations from the Haskell markup