summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-03 15:08:14 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-03 15:08:14 +0200
commitced2bb3b8d35d0e2faa21adeff04607a2174ae99 (patch)
tree679e0463b3d88b6176130e1b27187610e254addc /testdata
parent1b49cc7e377e6c16d6c5bc4cced39dc20b8c0bec (diff)
refactoring
Diffstat (limited to 'testdata')
-rw-r--r--testdata/Builtins.out2
-rw-r--r--testdata/Prelude.out3
-rw-r--r--testdata/language-features/adt/gadt01.lc2
3 files changed, 4 insertions, 3 deletions
diff --git a/testdata/Builtins.out b/testdata/Builtins.out
index 96574724..2e7d6b11 100644
--- a/testdata/Builtins.out
+++ b/testdata/Builtins.out
@@ -938,7 +938,7 @@ allSame
938 \(b :: _) (c :: _) -> case'List 938 \(b :: _) (c :: _) -> case'List
939 \_ -> _ :: _ 939 \_ -> _ :: _
940 (_rhs 'Unit) 940 (_rhs 'Unit)
941 \(d :: _) (e :: _) -> _rhs ('T2 (b ~ d) (allSame (d : e))) 941 \(d :: _) (e :: _) -> _rhs ('T2 (b `'EqCTt` d) (allSame (d : e)))
942 c 942 c
943 a) 943 a)
944 :: forall (f :: _) . [f] -> Type 944 :: forall (f :: _) . [f] -> Type
diff --git a/testdata/Prelude.out b/testdata/Prelude.out
index ead20303..88464b4e 100644
--- a/testdata/Prelude.out
+++ b/testdata/Prelude.out
@@ -191,7 +191,8 @@ isKeyC
191 (_rhs ('Empty "")) 191 (_rhs ('Empty ""))
192 \(d :: _) (e :: _) -> case'RecItem 192 \(d :: _) (e :: _) -> case'RecItem
193 \_ -> _ :: _ 193 \_ -> _ :: _
194 \(f :: _) (g :: _) -> _rhs (primIfThenElse (a == f) (b ~ g) (isKeyC a b e)) 194 \(f :: _) (g :: _) -> _rhs
195 (primIfThenElse (a == f) (b `'EqCTt` g) (isKeyC a b e))
195 d 196 d
196 c 197 c
197fstTup = _rhs (hlistConsCase (_ :: _) \(a :: _) -> \_ -> a) 198fstTup = _rhs (hlistConsCase (_ :: _) \(a :: _) -> \_ -> a)
diff --git a/testdata/language-features/adt/gadt01.lc b/testdata/language-features/adt/gadt01.lc
index b68762ca..741f2dce 100644
--- a/testdata/language-features/adt/gadt01.lc
+++ b/testdata/language-features/adt/gadt01.lc
@@ -14,7 +14,7 @@ data M3 (a :: Type) :: String -> Type where
14 14
15-- g (Value2 x) = x 15-- g (Value2 x) = x
16-- g :: forall a . forall m . M2 a m -> a 16-- g :: forall a . forall m . M2 a m -> a
17g = 'M2Case (\_ _ -> _) (\e @_ -> e) 17g = case'M2 (\_ _ -> _) (\e @_ -> e)
18 18
19h (Value3 x) = x 19h (Value3 x) = x
20 20