summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci050.stderr
blob: 9e58fcdc502f34fbd252e893bd70ea9ac8a3a472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

<interactive>:6:49: error: [GHC-25897]
    • Couldn't match expected type ‘ListableElem (a, a)’
                  with actual type ‘a’
      ‘a’ is a rigid type variable bound by
        the instance declaration
        at <interactive>:6:10-23
    • In the expression: a
      In the expression: [a, b]
      In an equation for ‘asList’: asList (a, b) = [a, b]
    • Relevant bindings include
        b :: a (bound at <interactive>:6:43)
        a :: a (bound at <interactive>:6:41)
        asList :: (a, a) -> [ListableElem (a, a)]
          (bound at <interactive>:6:33)