[Haskell] signature of when, unless