[Haskell] Signature error because the order