summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail184.stderr
blob: ed33280cf60f1e34c0b6225b3842e8e1a3b5b1e9 (plain)
1
2
3
4
5
6
7

tcfail184.hs:8:19:
    Illegal polymorphic or qualified type:
      forall a1. Ord a1 => [a1] -> [a1]
    Perhaps you intended to use RankNTypes or Rank2Types
    In the definition of data constructor ‘MkSwizzle’
    In the newtype declaration for ‘Swizzle’