summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc231.stderr
blob: 5c90453356ac2c9631c36cc40a98312dc4b71647 (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
  Node :: forall s a chain. s -> a -> chain -> Q s a chain
  Z :: forall a. a -> Z a
  foo ::
    forall s b chain.
    Zork s (Z [Char]) b =>
    Q s (Z [Char]) chain -> ST s ()
  huh ::
    forall s a b. Zork s a b => forall chain. Q s a chain -> ST s ()
  s :: forall t t1. Q t (Z [Char]) t1 -> Q t (Z [Char]) t1
TYPE CONSTRUCTORS
  data Q s a chain = Node s a chain
  data Z a = Z a
  class Zork s a b | a -> b where
    huh :: Q s a chain -> ST s ()
    {-# MINIMAL huh #-}
COERCION AXIOMS
  axiom N:Zork ::
    Zork s a b = forall chain. Q s a chain -> ST s ()
      -- Defined at tc231.hs:25:1
Dependent modules: []
Dependent packages: [base-4.11.1.0, ghc-prim-0.5.2.0,
                     integer-gmp-1.0.2.0]