summaryrefslogtreecommitdiff
path: root/testdata/language-features/basic-list
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-03 16:40:30 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-03 16:40:30 +0200
commitf468a49a43193caffe92cdd48a52a699880e14ef (patch)
tree255c8b454e9a75d05397468b849b8f5b032a878a /testdata/language-features/basic-list
parentfa47957b930c53d78d2da0bcb948e2fbff11f59d (diff)
refactoring
Diffstat (limited to 'testdata/language-features/basic-list')
-rw-r--r--testdata/language-features/basic-list/list01.out4
-rw-r--r--testdata/language-features/basic-list/list02.out4
-rw-r--r--testdata/language-features/basic-list/list08.out2
-rw-r--r--testdata/language-features/basic-list/list09.out2
-rw-r--r--testdata/language-features/basic-list/list11.out2
-rw-r--r--testdata/language-features/basic-list/list12.out2
-rw-r--r--testdata/language-features/basic-list/list13.out2
-rw-r--r--testdata/language-features/basic-list/listcomp01.out2
-rw-r--r--testdata/language-features/basic-list/listcomp02.out3
-rw-r--r--testdata/language-features/basic-list/listcomp03.out2
-rw-r--r--testdata/language-features/basic-list/listcomp04.out3
-rw-r--r--testdata/language-features/basic-list/listcomp05.out2
-rw-r--r--testdata/language-features/basic-list/listcomp06.out3
-rw-r--r--testdata/language-features/basic-list/listcomp07.out4
-rw-r--r--testdata/language-features/basic-list/listcomp09.out2
15 files changed, 24 insertions, 15 deletions
diff --git a/testdata/language-features/basic-list/list01.out b/testdata/language-features/basic-list/list01.out
index 5df5b1a0..41b1f057 100644
--- a/testdata/language-features/basic-list/list01.out
+++ b/testdata/language-features/basic-list/list01.out
@@ -1,8 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs [] 3value1 = _rhs []
4
3value2 = _rhs (fromInt 1 : fromInt 2 : fromInt 3 : fromInt 4 : []) 5value2 = _rhs (fromInt 1 : fromInt 2 : fromInt 3 : fromInt 4 : [])
6
4value3 = _rhs ('h' : 'e' : 'l' : 'l' : 'o' : []) 7value3 = _rhs ('h' : 'e' : 'l' : 'l' : 'o' : [])
5main is not found
6------------ trace 8------------ trace
7value1 :: forall a . [a] 9value1 :: forall a . [a]
8value2 :: forall a . Num a => [a] 10value2 :: forall a . Num a => [a]
diff --git a/testdata/language-features/basic-list/list02.out b/testdata/language-features/basic-list/list02.out
index dec74991..6101a1fa 100644
--- a/testdata/language-features/basic-list/list02.out
+++ b/testdata/language-features/basic-list/list02.out
@@ -1,8 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs [] 3value1 = _rhs []
4
3value2 = _rhs (fromInt 1 : fromInt 2 : fromInt 3 : fromInt 4 : []) 5value2 = _rhs (fromInt 1 : fromInt 2 : fromInt 3 : fromInt 4 : [])
6
4value3 = _rhs ('h' : 'e' : 'l' : 'l' : 'o' : []) 7value3 = _rhs ('h' : 'e' : 'l' : 'l' : 'o' : [])
5main is not found
6------------ trace 8------------ trace
7value1 :: forall a . [a] 9value1 :: forall a . [a]
8value2 :: forall a . Num a => [a] 10value2 :: forall a . Num a => [a]
diff --git a/testdata/language-features/basic-list/list08.out b/testdata/language-features/basic-list/list08.out
index aebab457..800c75aa 100644
--- a/testdata/language-features/basic-list/list08.out
+++ b/testdata/language-features/basic-list/list08.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs (fromInt 1 : 1.2 : []) 3value = _rhs (fromInt 1 : 1.2 : [])
3main is not found
4------------ trace 4------------ trace
5value :: [Float] 5value :: [Float]
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-list/list09.out b/testdata/language-features/basic-list/list09.out
index 11abf486..79bb9d42 100644
--- a/testdata/language-features/basic-list/list09.out
+++ b/testdata/language-features/basic-list/list09.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs (fromInt 1 : 1.2 : [] :: [Float]) 3value = _rhs (fromInt 1 : 1.2 : [] :: [Float])
3main is not found
4------------ trace 4------------ trace
5value :: [Float] 5value :: [Float]
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-list/list11.out b/testdata/language-features/basic-list/list11.out
index b70c324c..005c6959 100644
--- a/testdata/language-features/basic-list/list11.out
+++ b/testdata/language-features/basic-list/list11.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs (fromInt 1 : []) 3value = _rhs (fromInt 1 : [])
3main is not found
4------------ trace 4------------ trace
5value :: forall a . Num a => [a] 5value :: forall a . Num a => [a]
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-list/list12.out b/testdata/language-features/basic-list/list12.out
index 5a5f796d..75cc03e1 100644
--- a/testdata/language-features/basic-list/list12.out
+++ b/testdata/language-features/basic-list/list12.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs (fromInt 1 : fromInt 2 : fromInt 3 : fromInt 4 : fromInt 5 : []) 3value = _rhs (fromInt 1 : fromInt 2 : fromInt 3 : fromInt 4 : fromInt 5 : [])
3main is not found
4------------ trace 4------------ trace
5value :: forall a . Num a => [a] 5value :: forall a . Num a => [a]
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-list/list13.out b/testdata/language-features/basic-list/list13.out
index 66403b86..9e72ee74 100644
--- a/testdata/language-features/basic-list/list13.out
+++ b/testdata/language-features/basic-list/list13.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs ('h' : 'e' : 'l' : 'l' : 'o' : []) 3value = _rhs ('h' : 'e' : 'l' : 'l' : 'o' : [])
3main is not found
4------------ trace 4------------ trace
5value :: [Char] 5value :: [Char]
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-list/listcomp01.out b/testdata/language-features/basic-list/listcomp01.out
index fe914476..52af0c94 100644
--- a/testdata/language-features/basic-list/listcomp01.out
+++ b/testdata/language-features/basic-list/listcomp01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs (concatMap (\_ -> HNil : []) (HNil : HNil : HNil : HNil : [])) 3value = _rhs (concatMap (\_ -> HNil : []) (HNil : HNil : HNil : HNil : []))
3main is not found
4------------ trace 4------------ trace
5value :: [()] 5value :: [()]
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-list/listcomp02.out b/testdata/language-features/basic-list/listcomp02.out
index 8d7d9de5..7a2a2998 100644
--- a/testdata/language-features/basic-list/listcomp02.out
+++ b/testdata/language-features/basic-list/listcomp02.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2l = _rhs (HNil : HNil : HNil : HNil : []) 3l = _rhs (HNil : HNil : HNil : HNil : [])
4
3value = _rhs (concatMap (\(a :: _) -> a : []) l) 5value = _rhs (concatMap (\(a :: _) -> a : []) l)
4main is not found
5------------ trace 6------------ trace
6l :: [()] 7l :: [()]
7value :: [()] 8value :: [()]
diff --git a/testdata/language-features/basic-list/listcomp03.out b/testdata/language-features/basic-list/listcomp03.out
index 3de6ae88..ee6dfd4a 100644
--- a/testdata/language-features/basic-list/listcomp03.out
+++ b/testdata/language-features/basic-list/listcomp03.out
@@ -1,10 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
4 (concatMap 5 (concatMap
5 (\_ -> primIfThenElse False (HNil : []) []) 6 (\_ -> primIfThenElse False (HNil : []) [])
6 (HNil : HNil : HNil : HNil : [])) 7 (HNil : HNil : HNil : HNil : []))
7main is not found
8------------ trace 8------------ trace
9value :: [()] 9value :: [()]
10------------ tooltips 10------------ tooltips
diff --git a/testdata/language-features/basic-list/listcomp04.out b/testdata/language-features/basic-list/listcomp04.out
index dce40a1a..1069a83b 100644
--- a/testdata/language-features/basic-list/listcomp04.out
+++ b/testdata/language-features/basic-list/listcomp04.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2l = _rhs (HNil : HNil : HNil : HNil : []) 3l = _rhs (HNil : HNil : HNil : HNil : [])
4
3value = _rhs (concatMap (\_ -> concatMap (\_ -> HNil : []) l) l) 5value = _rhs (concatMap (\_ -> concatMap (\_ -> HNil : []) l) l)
4main is not found
5------------ trace 6------------ trace
6l :: [()] 7l :: [()]
7value :: [()] 8value :: [()]
diff --git a/testdata/language-features/basic-list/listcomp05.out b/testdata/language-features/basic-list/listcomp05.out
index 69de4559..b9c7afdb 100644
--- a/testdata/language-features/basic-list/listcomp05.out
+++ b/testdata/language-features/basic-list/listcomp05.out
@@ -1,10 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
4 (concatMap 5 (concatMap
5 (\_ (a := _rhs HNil) (b := _rhs ((\(c :: _) -> c) a)) -> b : []) 6 (\_ (a := _rhs HNil) (b := _rhs ((\(c :: _) -> c) a)) -> b : [])
6 (HNil : HNil : [])) 7 (HNil : HNil : []))
7main is not found
8------------ trace 8------------ trace
9value :: [()] 9value :: [()]
10------------ tooltips 10------------ tooltips
diff --git a/testdata/language-features/basic-list/listcomp06.out b/testdata/language-features/basic-list/listcomp06.out
index 590793bb..51a69cf6 100644
--- a/testdata/language-features/basic-list/listcomp06.out
+++ b/testdata/language-features/basic-list/listcomp06.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 3value1
3 = _rhs 4 = _rhs
@@ -7,6 +8,7 @@ value1
7 (b : []) 8 (b : [])
8 []) 9 [])
9 (HNil : HNil : [])) 10 (HNil : HNil : []))
11
10value2 12value2
11 = _rhs 13 = _rhs
12 (concatMap 14 (concatMap
@@ -15,7 +17,6 @@ value2
15 (\(a := _rhs HNil) (b := _rhs ((\(c :: _) -> c) a)) -> b : []) 17 (\(a := _rhs HNil) (b := _rhs ((\(c :: _) -> c) a)) -> b : [])
16 []) 18 [])
17 (HNil : HNil : [])) 19 (HNil : HNil : []))
18main is not found
19------------ trace 20------------ trace
20value1 :: [()] 21value1 :: [()]
21value2 :: [()] 22value2 :: [()]
diff --git a/testdata/language-features/basic-list/listcomp07.out b/testdata/language-features/basic-list/listcomp07.out
index a3e5a671..483d128f 100644
--- a/testdata/language-features/basic-list/listcomp07.out
+++ b/testdata/language-features/basic-list/listcomp07.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 3value1
3 = _rhs 4 = _rhs
@@ -7,6 +8,7 @@ value1
7 (\(d := _rhs b) (e := _rhs ((\(f :: _) -> f) d)) -> b : []) 8 (\(d := _rhs b) (e := _rhs ((\(f :: _) -> f) d)) -> b : [])
8 []) 9 [])
9 (HNil : HNil : [])) 10 (HNil : HNil : []))
11
10value2 12value2
11 = _rhs 13 = _rhs
12 (concatMap 14 (concatMap
@@ -15,6 +17,7 @@ value2
15 (\(d := _rhs b) (e := _rhs ((\(f :: _) -> f) d)) -> b : []) 17 (\(d := _rhs b) (e := _rhs ((\(f :: _) -> f) d)) -> b : [])
16 []) 18 [])
17 (HNil : HNil : [])) 19 (HNil : HNil : []))
20
18value3 21value3
19 = _rhs 22 = _rhs
20 (concatMap 23 (concatMap
@@ -23,7 +26,6 @@ value3
23 (\(d := _rhs b) (e := _rhs ((\(f :: _) -> f) d)) -> b : []) 26 (\(d := _rhs b) (e := _rhs ((\(f :: _) -> f) d)) -> b : [])
24 []) 27 [])
25 (HNil : HNil : [])) 28 (HNil : HNil : []))
26main is not found
27------------ trace 29------------ trace
28value1 :: [()] 30value1 :: [()]
29value2 :: [()] 31value2 :: [()]
diff --git a/testdata/language-features/basic-list/listcomp09.out b/testdata/language-features/basic-list/listcomp09.out
index 96351e61..75d2dbf5 100644
--- a/testdata/language-features/basic-list/listcomp09.out
+++ b/testdata/language-features/basic-list/listcomp09.out
@@ -1,7 +1,7 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 3value1
3 = _rhs (concatMap (\_ -> (\(a :: _) -> hlistNilCase _ "Hello" a) : []) []) 4 = _rhs (concatMap (\_ -> (\(a :: _) -> hlistNilCase _ "Hello" a) : []) [])
4main is not found
5------------ trace 5------------ trace
6value1 :: Type => [() -> String] 6value1 :: Type => [() -> String]
7------------ tooltips 7------------ tooltips