summaryrefslogtreecommitdiff
path: root/testdata/Prelude.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-02 16:40:07 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-02 16:45:18 +0200
commit2fe36db8e0c4197fb4dd55c4de3fc15e038744a2 (patch)
tree62f0636f0fb3da4b0890343ab818e91c2abfc214 /testdata/Prelude.out
parent35d5c201f7540d857956fd9459ef73706304a641 (diff)
use (:) instead of Cons everywhere
Diffstat (limited to 'testdata/Prelude.out')
-rw-r--r--testdata/Prelude.out42
1 files changed, 20 insertions, 22 deletions
diff --git a/testdata/Prelude.out b/testdata/Prelude.out
index 2fd400f9..3f3db079 100644
--- a/testdata/Prelude.out
+++ b/testdata/Prelude.out
@@ -40,8 +40,7 @@ zip
40 \(e :: _) (f :: _) -> _rhs (HCons c (HCons e HNil) : zip d f) 40 \(e :: _) (f :: _) -> _rhs (HCons c (HCons e HNil) : zip d f)
41 b 41 b
42 a) 42 a)
43 :: forall (g :: _) (h :: _) 43 :: forall (g :: _) (h :: _) . List g -> List h -> List (HList (g : h : 'Nil))
44 . List g -> List h -> List (HList ('Cons g ('Cons h 'Nil)))
45unzip 44unzip
46 = (\(a :: _) -> 'ListCase 45 = (\(a :: _) -> 'ListCase
47 \_ -> _ :: _ 46 \_ -> _ :: _
@@ -79,8 +78,7 @@ unzip
79 b 78 b
80 a) 79 a)
81 :: forall (s :: _) (t :: _) 80 :: forall (s :: _) (t :: _)
82 . List (HList ('Cons s ('Cons t 'Nil))) 81 . List (HList (s : t : 'Nil)) -> HList (List s : List t : 'Nil)
83 -> HList ('Cons (List s) ('Cons (List t) 'Nil))
84filter 82filter
85 = \(a :: _) (b :: _) -> 'ListCase 83 = \(a :: _) (b :: _) -> 'ListCase
86 \_ -> _ :: _ 84 \_ -> _ :: _
@@ -93,7 +91,7 @@ tail
93 :: forall (c :: _) . List c -> List c 91 :: forall (c :: _) . List c -> List c
94pairs 92pairs
95 = (\(a :: _) -> _rhs (zip a (tail a))) 93 = (\(a :: _) -> _rhs (zip a (tail a)))
96 :: forall (b :: _) . List b -> List (HList ('Cons b ('Cons b 'Nil))) 94 :: forall (b :: _) . List b -> List (HList (b : b : 'Nil))
97foldl' 95foldl'
98 = \(a :: _) (b :: _) (c :: _) -> 'ListCase 96 = \(a :: _) (b :: _) (c :: _) -> 'ListCase
99 \_ -> _ :: _ 97 \_ -> _ :: _
@@ -156,7 +154,7 @@ sortBy
156 (_rhs Nil) 154 (_rhs Nil)
157 \(c :: _) (d :: _) -> 'ListCase 155 \(c :: _) (d :: _) -> 'ListCase
158 \_ -> _ :: _ 156 \_ -> _ :: _
159 (_rhs (Cons c Nil)) 157 (_rhs (c : Nil))
160 \_ -> \_ -> _rhs (uncurry (mergeBy a) ((sortBy a *** sortBy a) (split b))) 158 \_ -> \_ -> _rhs (uncurry (mergeBy a) ((sortBy a *** sortBy a) (split b)))
161 d 159 d
162 b 160 b
@@ -514,8 +512,8 @@ match'RecordC
514 :: forall (a :: Type -> Type) 512 :: forall (a :: Type -> Type)
515 -> (forall (b :: List RecItem) -> a (RecordC b)) -> forall c -> a c -> a c 513 -> (forall (b :: List RecItem) -> a (RecordC b)) -> forall c -> a c -> a c
516isKeyC :: String -> Type -> List RecItem -> Type 514isKeyC :: String -> Type -> List RecItem -> Type
517fstTup :: forall a (b :: List Type) . HList ('Cons a b) -> a 515fstTup :: forall a (b :: List Type) . HList (: a b) -> a
518sndTup :: forall a (b :: List Type) . HList ('Cons a b) -> HList b 516sndTup :: forall a (b :: List Type) . HList (: a b) -> HList b
519project 517project
520 :: forall a (b :: List RecItem) 518 :: forall a (b :: List RecItem)
521 . forall (c :: String) -> isKeyC c a b => RecordC b -> a 519 . forall (c :: String) -> isKeyC c a b => RecordC b -> a
@@ -1296,25 +1294,25 @@ testdata/Prelude.lc 130:71-130:72
1296testdata/Prelude.lc 130:73-130:75 1294testdata/Prelude.lc 130:73-130:75
1297 List _i 1295 List _i
1298testdata/Prelude.lc 132:1-132:7 1296testdata/Prelude.lc 132:1-132:7
1299 forall a (b :: List Type) . HList ('Cons a b) -> a 1297 forall a (b :: List Type) . HList (: a b) -> a
1300testdata/Prelude.lc 132:10-132:23 1298testdata/Prelude.lc 132:10-132:23
1301 forall a (b :: List Type) 1299 forall a (b :: List Type)
1302 . forall c -> (a -> HList b -> c) -> HList ('Cons a b) -> c 1300 . forall c -> (a -> HList b -> c) -> HList (: a b) -> c
1303testdata/Prelude.lc 132:10-132:25 1301testdata/Prelude.lc 132:10-132:25
1304 (_c -> HList _b -> _a) -> HList ('Cons _c _b) -> _a 1302 (_c -> HList _b -> _a) -> HList (: _c _b) -> _a
1305testdata/Prelude.lc 132:10-132:37 1303testdata/Prelude.lc 132:10-132:37
1306 HList ('Cons _b _a) -> _b 1304 HList (: _b _a) -> _b
1307testdata/Prelude.lc 132:35-132:36 1305testdata/Prelude.lc 132:35-132:36
1308 _e 1306 _e
1309testdata/Prelude.lc 133:1-133:7 1307testdata/Prelude.lc 133:1-133:7
1310 forall a (b :: List Type) . HList ('Cons a b) -> HList b 1308 forall a (b :: List Type) . HList (: a b) -> HList b
1311testdata/Prelude.lc 133:10-133:23 1309testdata/Prelude.lc 133:10-133:23
1312 forall a (b :: List Type) 1310 forall a (b :: List Type)
1313 . forall c -> (a -> HList b -> c) -> HList ('Cons a b) -> c 1311 . forall c -> (a -> HList b -> c) -> HList (: a b) -> c
1314testdata/Prelude.lc 133:10-133:25 1312testdata/Prelude.lc 133:10-133:25
1315 (_c -> HList _b -> _a) -> HList ('Cons _c _b) -> _a 1313 (_c -> HList _b -> _a) -> HList (: _c _b) -> _a
1316testdata/Prelude.lc 133:10-133:37 1314testdata/Prelude.lc 133:10-133:37
1317 HList ('Cons _b _a) -> HList _a 1315 HList (: _b _a) -> HList _a
1318testdata/Prelude.lc 133:35-133:36 1316testdata/Prelude.lc 133:35-133:36
1319 HList _d 1317 HList _d
1320testdata/Prelude.lc 136:12-138:181 1318testdata/Prelude.lc 136:12-138:181
@@ -1372,7 +1370,7 @@ testdata/Prelude.lc 137:59-137:61
1372testdata/Prelude.lc 137:62-137:64 1370testdata/Prelude.lc 137:62-137:64
1373 String 1371 String
1374testdata/Prelude.lc 137:67-137:73 1372testdata/Prelude.lc 137:67-137:73
1375 forall a (b :: List Type) . HList ('Cons a b) -> a 1373 forall a (b :: List Type) . HList (: a b) -> a
1376testdata/Prelude.lc 137:67-137:129 1374testdata/Prelude.lc 137:67-137:129
1377 _n 1375 _n
1378testdata/Prelude.lc 137:67-138:181 1376testdata/Prelude.lc 137:67-138:181
@@ -1382,9 +1380,9 @@ testdata/Prelude.lc 137:75-137:87
1382testdata/Prelude.lc 137:75-137:90 1380testdata/Prelude.lc 137:75-137:90
1383 forall a . _a -> a 1381 forall a . _a -> a
1384testdata/Prelude.lc 137:75-137:125 1382testdata/Prelude.lc 137:75-137:125
1385 _a -> HList ('Cons _q (map RecItem Type recItemType _j)) 1383 _a -> HList (: _q (map RecItem Type recItemType _j))
1386testdata/Prelude.lc 137:75-137:128 1384testdata/Prelude.lc 137:75-137:128
1387 HList ('Cons _n (map RecItem Type recItemType _g)) 1385 HList (: _n (map RecItem Type recItemType _g))
1388testdata/Prelude.lc 137:93-137:98 1386testdata/Prelude.lc 137:93-137:98
1389 List Type -> Type 1387 List Type -> Type
1390testdata/Prelude.lc 137:93-137:124 1388testdata/Prelude.lc 137:93-137:124
@@ -1452,7 +1450,7 @@ testdata/Prelude.lc 138:105-138:115
1452testdata/Prelude.lc 138:105-138:180 1450testdata/Prelude.lc 138:105-138:180
1453 RecordC _b 1451 RecordC _b
1454testdata/Prelude.lc 138:117-138:123 1452testdata/Prelude.lc 138:117-138:123
1455 forall a (b :: List Type) . HList ('Cons a b) -> HList b 1453 forall a (b :: List Type) . HList (: a b) -> HList b
1456testdata/Prelude.lc 138:117-138:179 1454testdata/Prelude.lc 138:117-138:179
1457 HList (map RecItem Type recItemType _h) 1455 HList (map RecItem Type recItemType _h)
1458testdata/Prelude.lc 138:125-138:137 1456testdata/Prelude.lc 138:125-138:137
@@ -1460,9 +1458,9 @@ testdata/Prelude.lc 138:125-138:137
1460testdata/Prelude.lc 138:125-138:140 1458testdata/Prelude.lc 138:125-138:140
1461 forall a . _a -> a 1459 forall a . _a -> a
1462testdata/Prelude.lc 138:125-138:175 1460testdata/Prelude.lc 138:125-138:175
1463 _a -> HList ('Cons _r (map RecItem Type recItemType _k)) 1461 _a -> HList (: _r (map RecItem Type recItemType _k))
1464testdata/Prelude.lc 138:125-138:178 1462testdata/Prelude.lc 138:125-138:178
1465 HList ('Cons _o (map RecItem Type recItemType _h)) 1463 HList (: _o (map RecItem Type recItemType _h))
1466testdata/Prelude.lc 138:143-138:148 1464testdata/Prelude.lc 138:143-138:148
1467 List Type -> Type 1465 List Type -> Type
1468testdata/Prelude.lc 138:143-138:174 1466testdata/Prelude.lc 138:143-138:174