@@ -33,7 +33,7 @@ Singletons/T353.hs:(0,0)-(0,0): Splicing declarations
33
33
Singletons/T353.hs:0:0:: Splicing declarations
34
34
genDefunSymbols [''Prod]
35
35
======>
36
- type MkProdSym0 :: forall k
36
+ type MkProdSym0 :: forall {k :: Type}
37
37
(f :: k -> Type)
38
38
(g :: k -> Type)
39
39
(p :: k). (~>) (f p) ((~>) (g p) (Prod f g p))
@@ -44,7 +44,7 @@ Singletons/T353.hs:0:0:: Splicing declarations
44
44
type instance Apply @(f p) @((~>) (g p) (Prod f g p)) MkProdSym0 a0123456789876543210 = MkProdSym1 a0123456789876543210
45
45
instance SuppressUnusedWarnings MkProdSym0 where
46
46
suppressUnusedWarnings = snd ((,) MkProdSym0KindInference ())
47
- type MkProdSym1 :: forall k
47
+ type MkProdSym1 :: forall {k :: Type}
48
48
(f :: k -> Type)
49
49
(g :: k -> Type)
50
50
(p :: k). f p -> (~>) (g p) (Prod f g p)
@@ -55,18 +55,18 @@ Singletons/T353.hs:0:0:: Splicing declarations
55
55
type instance Apply @(g p) @(Prod f g p) (MkProdSym1 a0123456789876543210) a0123456789876543210 = 'MkProd a0123456789876543210 a0123456789876543210
56
56
instance SuppressUnusedWarnings (MkProdSym1 a0123456789876543210) where
57
57
suppressUnusedWarnings = snd ((,) MkProdSym1KindInference ())
58
- type MkProdSym2 :: forall k
58
+ type MkProdSym2 :: forall {k :: Type}
59
59
(f :: k -> Type)
60
60
(g :: k -> Type)
61
61
(p :: k). f p -> g p -> Prod f g p
62
- type family MkProdSym2 @k @ (f :: k -> Type) @(g :: k
63
- -> Type) @(p :: k) (a0123456789876543210 :: f p) (a0123456789876543210 :: g p) :: Prod f g p where
62
+ type family MkProdSym2 @(f :: k -> Type) @(g :: k
63
+ -> Type) @(p :: k) (a0123456789876543210 :: f p) (a0123456789876543210 :: g p) :: Prod f g p where
64
64
MkProdSym2 a0123456789876543210 a0123456789876543210 = 'MkProd a0123456789876543210 a0123456789876543210
65
65
Singletons/T353.hs:0:0:: Splicing declarations
66
66
genDefunSymbols [''Foo]
67
67
======>
68
- type MkFooSym0 :: forall k
69
- k
68
+ type MkFooSym0 :: forall {k :: Type}
69
+ {k :: Type}
70
70
(a :: k)
71
71
(b :: k). (~>) (Proxy a) ((~>) (Proxy b) (Foo a b))
72
72
data MkFooSym0 :: (~>) (Proxy a) ((~>) (Proxy b) (Foo a b))
@@ -76,16 +76,20 @@ Singletons/T353.hs:0:0:: Splicing declarations
76
76
type instance Apply @(Proxy a) @((~>) (Proxy b) (Foo a b)) MkFooSym0 a0123456789876543210 = MkFooSym1 a0123456789876543210
77
77
instance SuppressUnusedWarnings MkFooSym0 where
78
78
suppressUnusedWarnings = snd ((,) MkFooSym0KindInference ())
79
- type MkFooSym1 :: forall k k (a :: k) (b :: k). Proxy a
80
- -> (~>) (Proxy b) (Foo a b)
79
+ type MkFooSym1 :: forall {k :: Type}
80
+ {k :: Type}
81
+ (a :: k)
82
+ (b :: k). Proxy a -> (~>) (Proxy b) (Foo a b)
81
83
data MkFooSym1 (a0123456789876543210 :: Proxy a) :: (~>) (Proxy b) (Foo a b)
82
84
where
83
85
MkFooSym1KindInference :: SameKind (Apply (MkFooSym1 a0123456789876543210) arg) (MkFooSym2 a0123456789876543210 arg) =>
84
86
MkFooSym1 a0123456789876543210 a0123456789876543210
85
87
type instance Apply @(Proxy b) @(Foo a b) (MkFooSym1 a0123456789876543210) a0123456789876543210 = 'MkFoo a0123456789876543210 a0123456789876543210
86
88
instance SuppressUnusedWarnings (MkFooSym1 a0123456789876543210) where
87
89
suppressUnusedWarnings = snd ((,) MkFooSym1KindInference ())
88
- type MkFooSym2 :: forall k k (a :: k) (b :: k). Proxy a
89
- -> Proxy b -> Foo a b
90
- type family MkFooSym2 @k @k @(a :: k) @(b :: k) (a0123456789876543210 :: Proxy a) (a0123456789876543210 :: Proxy b) :: Foo a b where
90
+ type MkFooSym2 :: forall {k :: Type}
91
+ {k :: Type}
92
+ (a :: k)
93
+ (b :: k). Proxy a -> Proxy b -> Foo a b
94
+ type family MkFooSym2 @(a :: k) @(b :: k) (a0123456789876543210 :: Proxy a) (a0123456789876543210 :: Proxy b) :: Foo a b where
91
95
MkFooSym2 a0123456789876543210 a0123456789876543210 = 'MkFoo a0123456789876543210 a0123456789876543210
0 commit comments