summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T3017.stderr
blob: 2d2187c5a7958a9e3081d0e62b1c6a5631b74d09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TYPE SIGNATURES
  emptyL :: forall a. ListColl a
  test2 ::
    forall c t t1. (Num t, Num t1, Coll c, Elem c ~ (t, t1)) => c -> c
TYPE CONSTRUCTORS
  class Coll c where
    type family Elem c :: * open
    empty :: c
    insert :: Elem c -> c -> c
    {-# MINIMAL empty, insert #-}
  data ListColl a = L [a]
    Promotable
COERCION AXIOMS
  axiom Foo.TFCo:R:ElemListColl :: Elem (ListColl a) = a
INSTANCES
  instance Coll (ListColl a) -- Defined at T3017.hs:12:11
FAMILY INSTANCES
  type Elem (ListColl a)
Dependent modules: []
Dependent packages: [base-4.8.2.0, ghc-prim-0.4.0.0,
                     integer-gmp-1.0.0.0]