summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_compile/T3017.stderr
blob: 20032b6ad44ab2a88e25f534ff8b09d4e5d56805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
TYPE SIGNATURES
  empty :: forall c. Coll c => c
  emptyL :: forall a. ListColl a
  insert :: forall c. Coll c => Elem c -> c -> c
  test2 ::
    forall {c} {a} {b}.
    (Coll c, Num a, Num b, Elem c ~ (a, b)) =>
    c -> c
TYPE CONSTRUCTORS
  class Coll{1} :: * -> Constraint
  associated type family Elem{1} :: * -> *
    roles nominal
  data type ListColl{1} :: * -> *
COERCION AXIOMS
  axiom Foo.D:R:ElemListColl :: Elem (ListColl a) = a
DATA CONSTRUCTORS
  L :: forall a. [a] -> ListColl a
CLASS INSTANCES
  instance Coll (ListColl a) -- Defined at T3017.hs:12:11
FAMILY INSTANCES
  type instance Elem (ListColl a) = a -- Defined at T3017.hs:13:9
Dependent modules: []
Dependent packages: [base-4.13.0.0, ghc-bignum-1.0, ghc-prim-0.7.0]