summaryrefslogtreecommitdiff
path: root/testdata/language-features
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/language-features')
-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
-rw-r--r--testdata/language-features/basic-values/bool01.out3
-rw-r--r--testdata/language-features/basic-values/case01.out7
-rw-r--r--testdata/language-features/basic-values/case02.out3
-rw-r--r--testdata/language-features/basic-values/case05.out2
-rw-r--r--testdata/language-features/basic-values/case06.out2
-rw-r--r--testdata/language-features/basic-values/data01.out4
-rw-r--r--testdata/language-features/basic-values/def01.out4
-rw-r--r--testdata/language-features/basic-values/def03.out2
-rw-r--r--testdata/language-features/basic-values/def04.out3
-rw-r--r--testdata/language-features/basic-values/deforder01.out3
-rw-r--r--testdata/language-features/basic-values/deforder02.out3
-rw-r--r--testdata/language-features/basic-values/deforder03.out2
-rw-r--r--testdata/language-features/basic-values/deforder04.out2
-rw-r--r--testdata/language-features/basic-values/deforder05.out2
-rw-r--r--testdata/language-features/basic-values/deforder06.out2
-rw-r--r--testdata/language-features/basic-values/fixity01.out9
-rw-r--r--testdata/language-features/basic-values/fixity02.out25
-rw-r--r--testdata/language-features/basic-values/if01.out3
-rw-r--r--testdata/language-features/basic-values/indentation01.out3
-rw-r--r--testdata/language-features/basic-values/indentation02.out3
-rw-r--r--testdata/language-features/basic-values/infix01.out3
-rw-r--r--testdata/language-features/basic-values/infix02.out3
-rw-r--r--testdata/language-features/basic-values/infix03.out4
-rw-r--r--testdata/language-features/basic-values/lambda01.out5
-rw-r--r--testdata/language-features/basic-values/lambda03.out3
-rw-r--r--testdata/language-features/basic-values/let01.out6
-rw-r--r--testdata/language-features/basic-values/let02.out2
-rw-r--r--testdata/language-features/basic-values/literal01.out9
-rw-r--r--testdata/language-features/basic-values/operator01.out5
-rw-r--r--testdata/language-features/basic-values/operator05.out2
-rw-r--r--testdata/language-features/basic-values/operator06.out2
-rw-r--r--testdata/language-features/basic-values/shadowing01.out2
-rw-r--r--testdata/language-features/basic-values/shadowing02.out4
-rw-r--r--testdata/language-features/basic-values/shadowing03.out2
-rw-r--r--testdata/language-features/basic-values/shadowing04.out2
-rw-r--r--testdata/language-features/basic-values/tuple01.out2
-rw-r--r--testdata/language-features/basic-values/tuple02.out4
-rw-r--r--testdata/language-features/basic-values/typesig01.out3
-rw-r--r--testdata/language-features/basic-values/typesig02.out3
-rw-r--r--testdata/language-features/basic-values/typesig03.out3
-rw-r--r--testdata/language-features/basic-values/typesig04.out3
-rw-r--r--testdata/language-features/basic-values/typesig05.out7
-rw-r--r--testdata/language-features/basic-values/typesig06.out5
-rw-r--r--testdata/language-features/basic-values/typesig07.out7
-rw-r--r--testdata/language-features/basic-values/typesyn01.out2
-rw-r--r--testdata/language-features/basic-values/typesyn02.out3
-rw-r--r--testdata/language-features/basic-values/where01.out12
-rw-r--r--testdata/language-features/basic-values/where04.out4
-rw-r--r--testdata/language-features/basic-values/where05.out5
-rw-r--r--testdata/language-features/basic-values/wildcard01.out2
-rw-r--r--testdata/language-features/comment/comment01.out2
-rw-r--r--testdata/language-features/comment/comment02.out2
-rw-r--r--testdata/language-features/comment/comment03.out2
-rw-r--r--testdata/language-features/comment/comment04.out2
-rw-r--r--testdata/language-features/emptysource.out2
-rw-r--r--testdata/language-features/guard/guard01.out2
-rw-r--r--testdata/language-features/guard/guard03.out2
-rw-r--r--testdata/language-features/guard/guard04.out2
-rw-r--r--testdata/language-features/guard/guard06.out2
-rw-r--r--testdata/language-features/guard/guard07.out2
-rw-r--r--testdata/language-features/guard/guard08.out2
-rw-r--r--testdata/language-features/guard/guard09.out2
-rw-r--r--testdata/language-features/guard/guard11.out2
-rw-r--r--testdata/language-features/guard/guard13.out2
-rw-r--r--testdata/language-features/guard/guard14.out2
-rw-r--r--testdata/language-features/guard/guard15.out2
-rw-r--r--testdata/language-features/guard/guard16.out2
-rw-r--r--testdata/language-features/module/Hello01.out3
-rw-r--r--testdata/language-features/module/Hello02.out3
-rw-r--r--testdata/language-features/module/Hello03.out3
-rw-r--r--testdata/language-features/module/ModulePackage/SubModule01.out2
-rw-r--r--testdata/language-features/module/Moduledef01.out2
-rw-r--r--testdata/language-features/module/Moduledef06.out2
-rw-r--r--testdata/language-features/module/Moduledef07.out2
-rw-r--r--testdata/language-features/module/Moduledef08.out2
-rw-r--r--testdata/language-features/module/Moduledef09.out3
-rw-r--r--testdata/language-features/module/Moduledef10.out4
-rw-r--r--testdata/language-features/module/Moduledef13.out2
-rw-r--r--testdata/language-features/module/TypeSyn01Mod.out2
-rw-r--r--testdata/language-features/module/import01.out2
-rw-r--r--testdata/language-features/module/import05.out2
-rw-r--r--testdata/language-features/module/import06.out3
-rw-r--r--testdata/language-features/module/import07.out3
-rw-r--r--testdata/language-features/module/import08.out5
-rw-r--r--testdata/language-features/module/import09.out2
-rw-r--r--testdata/language-features/module/import12.out2
-rw-r--r--testdata/language-features/module/import13.out2
-rw-r--r--testdata/language-features/module/import14.out2
-rw-r--r--testdata/language-features/module/import15.out2
-rw-r--r--testdata/language-features/pattern/pattern01.out5
-rw-r--r--testdata/language-features/pattern/uncovered.out4
-rw-r--r--testdata/language-features/pattern/unreachable.out2
-rw-r--r--testdata/language-features/pragma/pragma01.out2
-rw-r--r--testdata/language-features/pragma/pragma02.out2
-rw-r--r--testdata/language-features/pragma/pragma03.out2
-rw-r--r--testdata/language-features/pragma/pragma04.out2
-rw-r--r--testdata/language-features/recursion/simplerec01.out2
-rw-r--r--testdata/language-features/recursion/simplerec02.out2
-rw-r--r--testdata/language-features/recursion/simplerec03.out2
-rw-r--r--testdata/language-features/section/section01.out4
115 files changed, 248 insertions, 115 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
diff --git a/testdata/language-features/basic-values/bool01.out b/testdata/language-features/basic-values/bool01.out
index 80315cf0..339dbe3a 100644
--- a/testdata/language-features/basic-values/bool01.out
+++ b/testdata/language-features/basic-values/bool01.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs True 3value1 = _rhs True
4
3value2 = _rhs False 5value2 = _rhs False
4main is not found
5------------ trace 6------------ trace
6value1 :: Bool 7value1 :: Bool
7value2 :: Bool 8value2 :: Bool
diff --git a/testdata/language-features/basic-values/case01.out b/testdata/language-features/basic-values/case01.out
index 8b4334e6..7a952e7a 100644
--- a/testdata/language-features/basic-values/case01.out
+++ b/testdata/language-features/basic-values/case01.out
@@ -1,11 +1,16 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil) 3value1 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil)
4
3value2 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil) 5value2 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil)
6
4value3 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil) 7value3 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil)
8
5value4 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil) 9value4 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil)
10
6value5 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil) 11value5 = _rhs ((\(a :: _) -> hlistNilCase _ HNil a) HNil)
12
7value6 = _rhs ((\_ -> HNil) HNil) 13value6 = _rhs ((\_ -> HNil) HNil)
8main is not found
9------------ trace 14------------ trace
10value1 :: () 15value1 :: ()
11value2 :: () 16value2 :: ()
diff --git a/testdata/language-features/basic-values/case02.out b/testdata/language-features/basic-values/case02.out
index a5f57070..9456dae9 100644
--- a/testdata/language-features/basic-values/case02.out
+++ b/testdata/language-features/basic-values/case02.out
@@ -1,7 +1,9 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 3value1
3 = _rhs 4 = _rhs
4 ((\(a :: _) -> case'Bool (\_ -> _) HNil HNil (fromInt 1 == a)) (fromInt 1)) 5 ((\(a :: _) -> case'Bool (\_ -> _) HNil HNil (fromInt 1 == a)) (fromInt 1))
6
5value2 7value2
6 = _rhs 8 = _rhs
7 ((\(a :: _) -> case'Bool 9 ((\(a :: _) -> case'Bool
@@ -10,7 +12,6 @@ value2
10 "1" 12 "1"
11 (fromInt 1 == a)) 13 (fromInt 1 == a))
12 (fromInt 2)) 14 (fromInt 2))
13main is not found
14------------ trace 15------------ trace
15value1 :: forall a . (Eq a, Num a) => () 16value1 :: forall a . (Eq a, Num a) => ()
16value2 :: forall a . (Eq a, Num a, Eq a, Num a) => String 17value2 :: forall a . (Eq a, Num a, Eq a, Num a) => String
diff --git a/testdata/language-features/basic-values/case05.out b/testdata/language-features/basic-values/case05.out
index e099d30d..2c1ab232 100644
--- a/testdata/language-features/basic-values/case05.out
+++ b/testdata/language-features/basic-values/case05.out
@@ -1,8 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = \(a :: _) -> _rhs 4 = \(a :: _) -> _rhs
4 ((\(b :: _) -> case'Bool (\_ -> _) undefined '1' (fromInt 1 == b)) a) 5 ((\(b :: _) -> case'Bool (\_ -> _) undefined '1' (fromInt 1 == b)) a)
5main is not found
6------------ trace 6------------ trace
7value :: forall a . (Eq a, Num a) => a -> Char 7value :: forall a . (Eq a, Num a) => a -> Char
8------------ tooltips 8------------ tooltips
diff --git a/testdata/language-features/basic-values/case06.out b/testdata/language-features/basic-values/case06.out
index aaeff605..65999ca4 100644
--- a/testdata/language-features/basic-values/case06.out
+++ b/testdata/language-features/basic-values/case06.out
@@ -1,8 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = \(a :: _) -> _rhs 4 = \(a :: _) -> _rhs
4 ((\(b :: _) -> case'Bool (\_ -> _) '_' '1' (fromInt 1 == b)) a) 5 ((\(b :: _) -> case'Bool (\_ -> _) '_' '1' (fromInt 1 == b)) a)
5main is not found
6------------ trace 6------------ trace
7value :: forall a . (Eq a, Num a) => a -> Char 7value :: forall a . (Eq a, Num a) => a -> Char
8------------ tooltips 8------------ tooltips
diff --git a/testdata/language-features/basic-values/data01.out b/testdata/language-features/basic-values/data01.out
index 7845cf0a..9efc26b6 100644
--- a/testdata/language-features/basic-values/data01.out
+++ b/testdata/language-features/basic-values/data01.out
@@ -1,17 +1,19 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2data A :: Type where 3data A :: Type where
3 B :: A 4 B :: A
4 C :: A 5 C :: A
5 D :: A 6 D :: A
7
6data E :: Type where 8data E :: Type where
7 F :: E 9 F :: E
8 G :: HList '[] -> E 10 G :: HList '[] -> E
9 H :: E 11 H :: E
12
10data D1 :: Type where 13data D1 :: Type where
11 C1 :: D1 14 C1 :: D1
12 C2 :: HList '[] -> D1 15 C2 :: HList '[] -> D1
13 C3 :: D1 16 C3 :: D1
14main is not found
15------------ trace 17------------ trace
16'A :: Type 18'A :: Type
17B :: A 19B :: A
diff --git a/testdata/language-features/basic-values/def01.out b/testdata/language-features/basic-values/def01.out
index 6aa4d014..520b99c3 100644
--- a/testdata/language-features/basic-values/def01.out
+++ b/testdata/language-features/basic-values/def01.out
@@ -1,8 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2unit = _rhs HNil 3unit = _rhs HNil
4
3fun1 = \_ -> _rhs (fromInt 1) 5fun1 = \_ -> _rhs (fromInt 1)
6
4fun2 = \_ _ _ _ _ -> _rhs 'c' 7fun2 = \_ _ _ _ _ -> _rhs 'c'
5main is not found
6------------ trace 8------------ trace
7unit :: () 9unit :: ()
8fun1 :: forall a b . Num b => a -> b 10fun1 :: forall a b . Num b => a -> b
diff --git a/testdata/language-features/basic-values/def03.out b/testdata/language-features/basic-values/def03.out
index ceb6a8e1..c4bed094 100644
--- a/testdata/language-features/basic-values/def03.out
+++ b/testdata/language-features/basic-values/def03.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun 3fun
3 = \(a :: _) -> case'Bool 4 = \(a :: _) -> case'Bool
@@ -5,7 +6,6 @@ fun
5 (case'Bool (\_ -> _) (_rhs undefined) (_rhs '2') (fromInt 2 == a)) 6 (case'Bool (\_ -> _) (_rhs undefined) (_rhs '2') (fromInt 2 == a))
6 (_rhs '1') 7 (_rhs '1')
7 (fromInt 1 == a) 8 (fromInt 1 == a)
8main is not found
9------------ trace 9------------ trace
10fun :: forall a . (Eq a, Num a, Eq a, Num a) => a -> Char 10fun :: forall a . (Eq a, Num a, Eq a, Num a) => a -> Char
11------------ tooltips 11------------ tooltips
diff --git a/testdata/language-features/basic-values/def04.out b/testdata/language-features/basic-values/def04.out
index e52f9d64..e6dfbba7 100644
--- a/testdata/language-features/basic-values/def04.out
+++ b/testdata/language-features/basic-values/def04.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun 3fun
3 = \(a :: _) -> case'Bool 4 = \(a :: _) -> case'Bool
@@ -5,13 +6,13 @@ fun
5 (case'Bool (\_ -> _) (_rhs '_') (_rhs '2') (fromInt 2 == a)) 6 (case'Bool (\_ -> _) (_rhs '_') (_rhs '2') (fromInt 2 == a))
6 (_rhs '1') 7 (_rhs '1')
7 (fromInt 1 == a) 8 (fromInt 1 == a)
9
8fun2 10fun2
9 = \(a :: _) _ -> case'Bool 11 = \(a :: _) _ -> case'Bool
10 (\_ -> _) 12 (\_ -> _)
11 (case'Bool (\_ -> _) (_rhs '_') (_rhs '2') (fromInt 2 == a)) 13 (case'Bool (\_ -> _) (_rhs '_') (_rhs '2') (fromInt 2 == a))
12 (_rhs '1') 14 (_rhs '1')
13 (fromInt 1 == a) 15 (fromInt 1 == a)
14main is not found
15------------ trace 16------------ trace
16fun :: forall a . (Eq a, Num a, Eq a, Num a) => a -> Char 17fun :: forall a . (Eq a, Num a, Eq a, Num a) => a -> Char
17fun2 :: forall a b . (Eq a, Num a, Eq a, Num a) => a -> b -> Char 18fun2 :: forall a b . (Eq a, Num a, Eq a, Num a) => a -> b -> Char
diff --git a/testdata/language-features/basic-values/deforder01.out b/testdata/language-features/basic-values/deforder01.out
index 2d6ace49..14117b02 100644
--- a/testdata/language-features/basic-values/deforder01.out
+++ b/testdata/language-features/basic-values/deforder01.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2x = _rhs '1' 3x = _rhs '1'
4
3y = _rhs x 5y = _rhs x
4main is not found
5------------ trace 6------------ trace
6x :: Char 7x :: Char
7y :: Char 8y :: Char
diff --git a/testdata/language-features/basic-values/deforder02.out b/testdata/language-features/basic-values/deforder02.out
index 7a36e690..23d62c33 100644
--- a/testdata/language-features/basic-values/deforder02.out
+++ b/testdata/language-features/basic-values/deforder02.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2x = _rhs '1' 3x = _rhs '1'
4
3y = _rhs x 5y = _rhs x
4main is not found
5------------ trace 6------------ trace
6x :: Char 7x :: Char
7y :: Char 8y :: Char
diff --git a/testdata/language-features/basic-values/deforder03.out b/testdata/language-features/basic-values/deforder03.out
index efc49155..8065aa9f 100644
--- a/testdata/language-features/basic-values/deforder03.out
+++ b/testdata/language-features/basic-values/deforder03.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1' 3value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1'
3main is not found
4------------ trace 4------------ trace
5value :: Char 5value :: Char
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/deforder04.out b/testdata/language-features/basic-values/deforder04.out
index 05e51d11..8f80d78e 100644
--- a/testdata/language-features/basic-values/deforder04.out
+++ b/testdata/language-features/basic-values/deforder04.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1' 3value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1'
3main is not found
4------------ trace 4------------ trace
5value :: Char 5value :: Char
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/deforder05.out b/testdata/language-features/basic-values/deforder05.out
index b5da0fdd..853498eb 100644
--- a/testdata/language-features/basic-values/deforder05.out
+++ b/testdata/language-features/basic-values/deforder05.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1' 3value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1'
3main is not found
4------------ trace 4------------ trace
5value :: Char 5value :: Char
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/deforder06.out b/testdata/language-features/basic-values/deforder06.out
index 7c4a2b4a..565b3ee0 100644
--- a/testdata/language-features/basic-values/deforder06.out
+++ b/testdata/language-features/basic-values/deforder06.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1' 3value = _rhs \(a := _rhs HNil) (b := _rhs a) -> '1'
3main is not found
4------------ trace 4------------ trace
5value :: Char 5value :: Char
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/fixity01.out b/testdata/language-features/basic-values/fixity01.out
index bcc2a126..22e2ae45 100644
--- a/testdata/language-features/basic-values/fixity01.out
+++ b/testdata/language-features/basic-values/fixity01.out
@@ -1,13 +1,20 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2funL = \(a :: _) _ -> _rhs a 3funL = \(a :: _) _ -> _rhs a
4
3funR = \(a :: _) _ -> _rhs a 5funR = \(a :: _) _ -> _rhs a
6
4(<<<<) = \(a :: _) _ -> _rhs a 7(<<<<) = \(a :: _) _ -> _rhs a
8
5(>>>>) = \_ (a :: _) -> _rhs a 9(>>>>) = \_ (a :: _) -> _rhs a
10
6infixr 7 funL 11infixr 7 funL
12
7infixr 7 <<<< 13infixr 7 <<<<
14
8infixr 6 >>>> 15infixr 6 >>>>
16
9infixr 6 funR 17infixr 6 funR
10main is not found
11------------ trace 18------------ trace
12funL :: forall a b . a -> b -> a 19funL :: forall a b . a -> b -> a
13funR :: forall a b . a -> b -> a 20funR :: forall a b . a -> b -> a
diff --git a/testdata/language-features/basic-values/fixity02.out b/testdata/language-features/basic-values/fixity02.out
index acdd5309..841eda57 100644
--- a/testdata/language-features/basic-values/fixity02.out
+++ b/testdata/language-features/basic-values/fixity02.out
@@ -1,29 +1,52 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2funL = \(a :: _) _ -> _rhs a 3funL = \(a :: _) _ -> _rhs a
4
3funR = \_ (a :: _) -> _rhs a 5funR = \_ (a :: _) -> _rhs a
6
4(<@) = \(a :: _) _ -> _rhs a 7(<@) = \(a :: _) _ -> _rhs a
8
5(@>) = \_ (a :: _) -> _rhs a 9(@>) = \_ (a :: _) -> _rhs a
10
6infixr 7 funL 11infixr 7 funL
12
7infixr 7 <@ 13infixr 7 <@
14
8infixr 6 @> 15infixr 6 @>
16
9infixr 6 funR 17infixr 6 funR
18
10value1 = _rhs (HNil @> 'c' @> "hi" @> 1.2 :: Float) 19value1 = _rhs (HNil @> 'c' @> "hi" @> 1.2 :: Float)
20
11value2 = _rhs (HNil @> 'c' <@ "hi" @> 1.2 :: Float) 21value2 = _rhs (HNil @> 'c' <@ "hi" @> 1.2 :: Float)
22
12value3 = _rhs (HNil <@ 'c' @> "hi" @> 1.2 :: Float) 23value3 = _rhs (HNil <@ 'c' @> "hi" @> 1.2 :: Float)
24
13value4 = _rhs (HNil <@ 'c' <@ "hi" @> 1.2 :: Float) 25value4 = _rhs (HNil <@ 'c' <@ "hi" @> 1.2 :: Float)
26
14value5 = _rhs (HNil @> 'c' @> "hi" <@ 1.2 :: String) 27value5 = _rhs (HNil @> 'c' @> "hi" <@ 1.2 :: String)
28
15value6 = _rhs (HNil @> 'c' <@ "hi" <@ 1.2 :: Char) 29value6 = _rhs (HNil @> 'c' <@ "hi" <@ 1.2 :: Char)
30
16value7 = _rhs (HNil <@ 'c' @> "hi" <@ 1.2 :: String) 31value7 = _rhs (HNil <@ 'c' @> "hi" <@ 1.2 :: String)
32
17value8 = _rhs (HNil <@ 'c' <@ "hi" <@ 1.2 :: HList '[]) 33value8 = _rhs (HNil <@ 'c' <@ "hi" <@ 1.2 :: HList '[])
34
18funValue1 = _rhs (HNil `funR` 'c' `funR` "hi" `funR` 1.2 :: Float) 35funValue1 = _rhs (HNil `funR` 'c' `funR` "hi" `funR` 1.2 :: Float)
36
19funValue2 = _rhs (HNil `funR` 'c' `funL` "hi" `funR` 1.2 :: Float) 37funValue2 = _rhs (HNil `funR` 'c' `funL` "hi" `funR` 1.2 :: Float)
38
20funValue3 = _rhs (HNil `funL` 'c' `funR` "hi" `funR` 1.2 :: Float) 39funValue3 = _rhs (HNil `funL` 'c' `funR` "hi" `funR` 1.2 :: Float)
40
21funValue4 = _rhs (HNil `funL` 'c' `funL` "hi" `funR` 1.2 :: Float) 41funValue4 = _rhs (HNil `funL` 'c' `funL` "hi" `funR` 1.2 :: Float)
42
22funValue5 = _rhs (HNil `funR` 'c' `funR` "hi" `funL` 1.2 :: String) 43funValue5 = _rhs (HNil `funR` 'c' `funR` "hi" `funL` 1.2 :: String)
44
23funValue6 = _rhs (HNil `funR` 'c' `funL` "hi" `funL` 1.2 :: Char) 45funValue6 = _rhs (HNil `funR` 'c' `funL` "hi" `funL` 1.2 :: Char)
46
24funValue7 = _rhs (HNil `funL` 'c' `funR` "hi" `funL` 1.2 :: String) 47funValue7 = _rhs (HNil `funL` 'c' `funR` "hi" `funL` 1.2 :: String)
48
25funValue8 = _rhs (HNil `funL` 'c' `funL` "hi" `funL` 1.2 :: HList '[]) 49funValue8 = _rhs (HNil `funL` 'c' `funL` "hi" `funL` 1.2 :: HList '[])
26main is not found
27------------ trace 50------------ trace
28funL :: forall a b . a -> b -> a 51funL :: forall a b . a -> b -> a
29funR :: forall a b . a -> b -> b 52funR :: forall a b . a -> b -> b
diff --git a/testdata/language-features/basic-values/if01.out b/testdata/language-features/basic-values/if01.out
index b16d8586..fdd04aba 100644
--- a/testdata/language-features/basic-values/if01.out
+++ b/testdata/language-features/basic-values/if01.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs (primIfThenElse True HNil HNil) 3value1 = _rhs (primIfThenElse True HNil HNil)
4
3value2 = _rhs (primIfThenElse False 1.0 2.0) 5value2 = _rhs (primIfThenElse False 1.0 2.0)
4main is not found
5------------ trace 6------------ trace
6value1 :: () 7value1 :: ()
7value2 :: Float 8value2 :: Float
diff --git a/testdata/language-features/basic-values/indentation01.out b/testdata/language-features/basic-values/indentation01.out
index a607690b..3c77aa23 100644
--- a/testdata/language-features/basic-values/indentation01.out
+++ b/testdata/language-features/basic-values/indentation01.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2tuple1 = _rhs HNil 3tuple1 = _rhs HNil
4
3tuple2 = _rhs HNil 5tuple2 = _rhs HNil
4main is not found
5------------ trace 6------------ trace
6tuple1 :: () 7tuple1 :: ()
7tuple2 :: () 8tuple2 :: ()
diff --git a/testdata/language-features/basic-values/indentation02.out b/testdata/language-features/basic-values/indentation02.out
index 97b138e0..9a4cafc0 100644
--- a/testdata/language-features/basic-values/indentation02.out
+++ b/testdata/language-features/basic-values/indentation02.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2tuple1 = _rhs HNil 3tuple1 = _rhs HNil
4
3tuple2 = _rhs HNil 5tuple2 = _rhs HNil
4main is not found
5------------ trace 6------------ trace
6tuple1 :: () 7tuple1 :: ()
7tuple2 :: () 8tuple2 :: ()
diff --git a/testdata/language-features/basic-values/infix01.out b/testdata/language-features/basic-values/infix01.out
index 013b0a25..3e4ec8a6 100644
--- a/testdata/language-features/basic-values/infix01.out
+++ b/testdata/language-features/basic-values/infix01.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = \_ _ -> _rhs HNil 3fun = \_ _ -> _rhs HNil
4
3value = \(a :: _) (b :: _) -> _rhs (a `fun` b) 5value = \(a :: _) (b :: _) -> _rhs (a `fun` b)
4main is not found
5------------ trace 6------------ trace
6fun :: forall a b . a -> b -> () 7fun :: forall a b . a -> b -> ()
7value :: forall a b . a -> b -> () 8value :: forall a b . a -> b -> ()
diff --git a/testdata/language-features/basic-values/infix02.out b/testdata/language-features/basic-values/infix02.out
index dd15a9e9..be8609ef 100644
--- a/testdata/language-features/basic-values/infix02.out
+++ b/testdata/language-features/basic-values/infix02.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = \_ _ _ -> _rhs HNil 3fun = \_ _ _ -> _rhs HNil
4
3value = \(a :: _) (b :: _) -> _rhs (a `fun` b) 5value = \(a :: _) (b :: _) -> _rhs (a `fun` b)
4main is not found
5------------ trace 6------------ trace
6fun :: forall a b c . a -> b -> c -> () 7fun :: forall a b c . a -> b -> c -> ()
7value :: forall a b c . a -> b -> c -> () 8value :: forall a b c . a -> b -> c -> ()
diff --git a/testdata/language-features/basic-values/infix03.out b/testdata/language-features/basic-values/infix03.out
index 81521b91..3b7d6ec2 100644
--- a/testdata/language-features/basic-values/infix03.out
+++ b/testdata/language-features/basic-values/infix03.out
@@ -1,10 +1,12 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2data D :: Type where 3data D :: Type where
3 D2 :: HList '[] -> HList '[] -> D 4 D2 :: HList '[] -> HList '[] -> D
4 D3 :: HList '[] -> HList '[] -> HList '[] -> D 5 D3 :: HList '[] -> HList '[] -> HList '[] -> D
6
5d2 = \(a :: _) (b :: _) -> _rhs (a `D2` b) 7d2 = \(a :: _) (b :: _) -> _rhs (a `D2` b)
8
6d3 = \(a :: _) (b :: _) -> _rhs (a `D3` b) 9d3 = \(a :: _) (b :: _) -> _rhs (a `D3` b)
7main is not found
8------------ trace 10------------ trace
9'D :: Type 11'D :: Type
10D2 :: () -> () -> D 12D2 :: () -> () -> D
diff --git a/testdata/language-features/basic-values/lambda01.out b/testdata/language-features/basic-values/lambda01.out
index 0d73915c..9a7c4583 100644
--- a/testdata/language-features/basic-values/lambda01.out
+++ b/testdata/language-features/basic-values/lambda01.out
@@ -1,9 +1,12 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun1 = _rhs \_ -> HNil 3fun1 = _rhs \_ -> HNil
4
3fun2 = _rhs \_ -> HNil 5fun2 = _rhs \_ -> HNil
6
4fun3 = _rhs \_ -> HNil 7fun3 = _rhs \_ -> HNil
8
5fun4 = _rhs \_ _ _ _ _ _ _ _ _ -> HNil 9fun4 = _rhs \_ _ _ _ _ _ _ _ _ -> HNil
6main is not found
7------------ trace 10------------ trace
8fun1 :: forall a . a -> () 11fun1 :: forall a . a -> ()
9fun2 :: forall a . a -> () 12fun2 :: forall a . a -> ()
diff --git a/testdata/language-features/basic-values/lambda03.out b/testdata/language-features/basic-values/lambda03.out
index 5ea529b3..97ee5c15 100644
--- a/testdata/language-features/basic-values/lambda03.out
+++ b/testdata/language-features/basic-values/lambda03.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun1 = _rhs \_ (a :: _) _ -> a 3fun1 = _rhs \_ (a :: _) _ -> a
4
3fun2 = \(a :: _) -> _rhs \_ _ _ -> a 5fun2 = \(a :: _) -> _rhs \_ _ _ -> a
4main is not found
5------------ trace 6------------ trace
6fun1 :: forall a b c . a -> b -> c -> b 7fun1 :: forall a b c . a -> b -> c -> b
7fun2 :: forall a b c d . a -> b -> c -> d -> a 8fun2 :: forall a b c d . a -> b -> c -> d -> a
diff --git a/testdata/language-features/basic-values/let01.out b/testdata/language-features/basic-values/let01.out
index 33524e88..dd6cad7e 100644
--- a/testdata/language-features/basic-values/let01.out
+++ b/testdata/language-features/basic-values/let01.out
@@ -1,10 +1,14 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs \(a := _rhs (fromInt 1)) -> fromInt 1 3value1 = _rhs \(a := _rhs (fromInt 1)) -> fromInt 1
4
3value2 = _rhs \(a := _rhs (fromInt 1)) -> fromInt 1 5value2 = _rhs \(a := _rhs (fromInt 1)) -> fromInt 1
6
4value3 = _rhs \(a := _rhs (fromInt 1)) (b := _rhs 'c') -> fromInt 1 7value3 = _rhs \(a := _rhs (fromInt 1)) (b := _rhs 'c') -> fromInt 1
8
5value4 = _rhs \(a := _rhs (fromInt 1)) -> fromInt 1 9value4 = _rhs \(a := _rhs (fromInt 1)) -> fromInt 1
10
6value5 = _rhs \(a := _rhs (fromInt 1)) (b := _rhs (fromInt 2)) -> fromInt 1 11value5 = _rhs \(a := _rhs (fromInt 1)) (b := _rhs (fromInt 2)) -> fromInt 1
7main is not found
8------------ trace 12------------ trace
9value1 :: forall a . Num a => a 13value1 :: forall a . Num a => a
10value2 :: forall a . Num a => a 14value2 :: forall a . Num a => a
diff --git a/testdata/language-features/basic-values/let02.out b/testdata/language-features/basic-values/let02.out
index 44be34a1..f4e67d6a 100644
--- a/testdata/language-features/basic-values/let02.out
+++ b/testdata/language-features/basic-values/let02.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
@@ -6,7 +7,6 @@ value
6 (c 7 (c
7 := _rhs 8 := _rhs
8 \(e := _rhs HNil) (f := _rhs (fromInt 1)) (g := _rhs "hello") -> 'B') -> HNil 9 \(e := _rhs HNil) (f := _rhs (fromInt 1)) (g := _rhs "hello") -> 'B') -> HNil
9main is not found
10------------ trace 10------------ trace
11value :: () 11value :: ()
12------------ tooltips 12------------ tooltips
diff --git a/testdata/language-features/basic-values/literal01.out b/testdata/language-features/basic-values/literal01.out
index b45e2a20..ec3b6908 100644
--- a/testdata/language-features/basic-values/literal01.out
+++ b/testdata/language-features/basic-values/literal01.out
@@ -1,13 +1,20 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2intValue1 = _rhs (fromInt 0) 3intValue1 = _rhs (fromInt 0)
4
3intValue2 = _rhs (fromInt 1) 5intValue2 = _rhs (fromInt 1)
6
4intValue3 = _rhs (fromInt 12345) 7intValue3 = _rhs (fromInt 12345)
8
5floatValue1 = _rhs 2.0 9floatValue1 = _rhs 2.0
10
6floatValue2 = _rhs 123400.0 11floatValue2 = _rhs 123400.0
12
7charValue = _rhs 'A' 13charValue = _rhs 'A'
14
8stringValue1 = _rhs "Hello World" 15stringValue1 = _rhs "Hello World"
16
9stringValue2 = _rhs "\nHello World\tagain!\r\n" 17stringValue2 = _rhs "\nHello World\tagain!\r\n"
10main is not found
11------------ trace 18------------ trace
12intValue1 :: forall a . Num a => a 19intValue1 :: forall a . Num a => a
13intValue2 :: forall a . Num a => a 20intValue2 :: forall a . Num a => a
diff --git a/testdata/language-features/basic-values/operator01.out b/testdata/language-features/basic-values/operator01.out
index b6848082..df8d10ac 100644
--- a/testdata/language-features/basic-values/operator01.out
+++ b/testdata/language-features/basic-values/operator01.out
@@ -1,9 +1,12 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2(#$#) = \_ _ -> _rhs HNil 3(#$#) = \_ _ -> _rhs HNil
4
3($$#) = \_ _ -> _rhs HNil 5($$#) = \_ _ -> _rhs HNil
6
4($$$#) = \_ _ -> _rhs HNil 7($$$#) = \_ _ -> _rhs HNil
8
5($$$) = \_ _ -> _rhs HNil 9($$$) = \_ _ -> _rhs HNil
6main is not found
7------------ trace 10------------ trace
8(#$#) :: forall a b . a -> b -> () 11(#$#) :: forall a b . a -> b -> ()
9($$#) :: forall a b . a -> b -> () 12($$#) :: forall a b . a -> b -> ()
diff --git a/testdata/language-features/basic-values/operator05.out b/testdata/language-features/basic-values/operator05.out
index 58ad31cd..91f34d29 100644
--- a/testdata/language-features/basic-values/operator05.out
+++ b/testdata/language-features/basic-values/operator05.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs \(a := \_ _ -> _rhs HNil) -> a HNil HNil 3value1 = _rhs \(a := \_ _ -> _rhs HNil) -> a HNil HNil
3main is not found
4------------ trace 4------------ trace
5value1 :: () 5value1 :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/operator06.out b/testdata/language-features/basic-values/operator06.out
index 6f5d6982..adbffc11 100644
--- a/testdata/language-features/basic-values/operator06.out
+++ b/testdata/language-features/basic-values/operator06.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs \(a := \_ _ -> _rhs HNil) -> a HNil HNil 3value1 = _rhs \(a := \_ _ -> _rhs HNil) -> a HNil HNil
3main is not found
4------------ trace 4------------ trace
5value1 :: () 5value1 :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/shadowing01.out b/testdata/language-features/basic-values/shadowing01.out
index 39fdca99..bf07b5e5 100644
--- a/testdata/language-features/basic-values/shadowing01.out
+++ b/testdata/language-features/basic-values/shadowing01.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
@@ -10,7 +11,6 @@ value
10 (f 11 (f
11 := _rhs 12 := _rhs
12 \(g := _rhs HNil) (h := _rhs 'C') (i := _rhs 3.12) -> "world") -> HNil) -> '7' 13 \(g := _rhs HNil) (h := _rhs 'C') (i := _rhs 3.12) -> "world") -> HNil) -> '7'
13main is not found
14------------ trace 14------------ trace
15value :: Char 15value :: Char
16------------ tooltips 16------------ tooltips
diff --git a/testdata/language-features/basic-values/shadowing02.out b/testdata/language-features/basic-values/shadowing02.out
index 4da8cccd..69f3e1f6 100644
--- a/testdata/language-features/basic-values/shadowing02.out
+++ b/testdata/language-features/basic-values/shadowing02.out
@@ -1,6 +1,9 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2c = _rhs (fromInt 7) 3c = _rhs (fromInt 7)
4
3world = _rhs "world" 5world = _rhs "world"
6
4value2 7value2
5 = _rhs 8 = _rhs
6 \(a := _rhs 'A') 9 \(a := _rhs 'A')
@@ -14,7 +17,6 @@ value2
14 := _rhs 17 := _rhs
15 \(h := _rhs HNil) 18 \(h := _rhs HNil)
16 (i := _rhs 'C') (j := _rhs 3.12) (k := _rhs c) -> world) -> HNil) -> '7' 19 (i := _rhs 'C') (j := _rhs 3.12) (k := _rhs c) -> world) -> HNil) -> '7'
17main is not found
18------------ trace 20------------ trace
19c :: forall a . Num a => a 21c :: forall a . Num a => a
20world :: String 22world :: String
diff --git a/testdata/language-features/basic-values/shadowing03.out b/testdata/language-features/basic-values/shadowing03.out
index 6e0ca5e0..00820b70 100644
--- a/testdata/language-features/basic-values/shadowing03.out
+++ b/testdata/language-features/basic-values/shadowing03.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2x = \_ _ -> _rhs HNil 3x = \_ _ -> _rhs HNil
3main is not found
4------------ trace 4------------ trace
5x :: forall a b . a -> b -> () 5x :: forall a b . a -> b -> ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/shadowing04.out b/testdata/language-features/basic-values/shadowing04.out
index 6d20512d..29066c7b 100644
--- a/testdata/language-features/basic-values/shadowing04.out
+++ b/testdata/language-features/basic-values/shadowing04.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2__ = \_ _ -> _rhs HNil 3__ = \_ _ -> _rhs HNil
3main is not found
4------------ trace 4------------ trace
5__ :: forall a b . a -> b -> () 5__ :: forall a b . a -> b -> ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/tuple01.out b/testdata/language-features/basic-values/tuple01.out
index 9ae4b926..48aa799f 100644
--- a/testdata/language-features/basic-values/tuple01.out
+++ b/testdata/language-features/basic-values/tuple01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2unit = _rhs HNil 3unit = _rhs HNil
3main is not found
4------------ trace 4------------ trace
5unit :: () 5unit :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/tuple02.out b/testdata/language-features/basic-values/tuple02.out
index 8cdbb1b2..33a7b35c 100644
--- a/testdata/language-features/basic-values/tuple02.out
+++ b/testdata/language-features/basic-values/tuple02.out
@@ -1,10 +1,12 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2tuple1 3tuple1
3 = _rhs 4 = _rhs
4 (HCons (fromInt 1) (HCons 2.3 (HCons 'D' (HCons "string" (HCons HNil HNil))))) 5 (HCons (fromInt 1) (HCons 2.3 (HCons 'D' (HCons "string" (HCons HNil HNil)))))
6
5tuple2 = _rhs (HCons HNil (HCons HNil HNil)) 7tuple2 = _rhs (HCons HNil (HCons HNil HNil))
8
6tuple3 = _rhs (HCons (HCons "name" (HCons 'c' HNil)) (HCons HNil HNil)) 9tuple3 = _rhs (HCons (HCons "name" (HCons 'c' HNil)) (HCons HNil HNil))
7main is not found
8------------ trace 10------------ trace
9tuple1 :: forall a . Num a => (a, Float, Char, String, ()) 11tuple1 :: forall a . Num a => (a, Float, Char, String, ())
10tuple2 :: ((), ()) 12tuple2 :: ((), ())
diff --git a/testdata/language-features/basic-values/typesig01.out b/testdata/language-features/basic-values/typesig01.out
index 9936930a..4b710886 100644
--- a/testdata/language-features/basic-values/typesig01.out
+++ b/testdata/language-features/basic-values/typesig01.out
@@ -1,9 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 :: Char 3value1 :: Char
3value1 = _rhs 'a' 4value1 = _rhs 'a'
5
4value2 :: Char 6value2 :: Char
5value2 = _rhs 'a' 7value2 = _rhs 'a'
6main is not found
7------------ trace 8------------ trace
8value1 :: Char 9value1 :: Char
9value2 :: Char 10value2 :: Char
diff --git a/testdata/language-features/basic-values/typesig02.out b/testdata/language-features/basic-values/typesig02.out
index cfd8e29d..a685db82 100644
--- a/testdata/language-features/basic-values/typesig02.out
+++ b/testdata/language-features/basic-values/typesig02.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs ('a' :: Char) 3value1 = _rhs ('a' :: Char)
4
3value2 = _rhs ('a' :: Char) 5value2 = _rhs ('a' :: Char)
4main is not found
5------------ trace 6------------ trace
6value1 :: Char 7value1 :: Char
7value2 :: Char 8value2 :: Char
diff --git a/testdata/language-features/basic-values/typesig03.out b/testdata/language-features/basic-values/typesig03.out
index 8a2f8bbb..c0f5769f 100644
--- a/testdata/language-features/basic-values/typesig03.out
+++ b/testdata/language-features/basic-values/typesig03.out
@@ -1,9 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun1 :: forall (a :: _) (b :: _) (c :: _) . a -> b -> c -> HList '[] 3fun1 :: forall (a :: _) (b :: _) (c :: _) . a -> b -> c -> HList '[]
3fun1 = \_ _ _ -> _rhs HNil 4fun1 = \_ _ _ -> _rhs HNil
5
4fun2 :: forall (a :: _) (b :: _) (c :: _) . a -> b -> c -> HList '[] 6fun2 :: forall (a :: _) (b :: _) (c :: _) . a -> b -> c -> HList '[]
5fun2 = \_ _ _ -> _rhs HNil 7fun2 = \_ _ _ -> _rhs HNil
6main is not found
7------------ trace 8------------ trace
8fun1 :: forall a b c . a -> b -> c -> () 9fun1 :: forall a b c . a -> b -> c -> ()
9fun2 :: forall a b c . a -> b -> c -> () 10fun2 :: forall a b c . a -> b -> c -> ()
diff --git a/testdata/language-features/basic-values/typesig04.out b/testdata/language-features/basic-values/typesig04.out
index 0c98ffa1..b7a2c6b1 100644
--- a/testdata/language-features/basic-values/typesig04.out
+++ b/testdata/language-features/basic-values/typesig04.out
@@ -1,9 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun1 :: forall (a :: _) (b :: _) (c :: _) . a -> (b -> c) -> HList '[] 3fun1 :: forall (a :: _) (b :: _) (c :: _) . a -> (b -> c) -> HList '[]
3fun1 = \_ _ -> _rhs HNil 4fun1 = \_ _ -> _rhs HNil
5
4fun2 :: forall (a :: _) (b :: _) (c :: _) . a -> (b -> c) -> HList '[] 6fun2 :: forall (a :: _) (b :: _) (c :: _) . a -> (b -> c) -> HList '[]
5fun2 = \_ _ -> _rhs HNil 7fun2 = \_ _ -> _rhs HNil
6main is not found
7------------ trace 8------------ trace
8fun1 :: forall a b c . a -> (b -> c) -> () 9fun1 :: forall a b c . a -> (b -> c) -> ()
9fun2 :: forall a b c . a -> (b -> c) -> () 10fun2 :: forall a b c . a -> (b -> c) -> ()
diff --git a/testdata/language-features/basic-values/typesig05.out b/testdata/language-features/basic-values/typesig05.out
index edceee72..0f4f157e 100644
--- a/testdata/language-features/basic-values/typesig05.out
+++ b/testdata/language-features/basic-values/typesig05.out
@@ -1,13 +1,18 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2funL = \(a :: _) _ -> _rhs a 3funL = \(a :: _) _ -> _rhs a
4
3funR = \_ (a :: _) -> _rhs a 5funR = \_ (a :: _) -> _rhs a
6
4value1 = _rhs (funL 'a' "b" :: Char) 7value1 = _rhs (funL 'a' "b" :: Char)
8
5value2 = _rhs (funR 'a' "b" :: String) 9value2 = _rhs (funR 'a' "b" :: String)
10
6value3 :: Char 11value3 :: Char
7value3 = _rhs (funL 'a' "b") 12value3 = _rhs (funL 'a' "b")
13
8value4 :: String 14value4 :: String
9value4 = _rhs (funR 'a' "b") 15value4 = _rhs (funR 'a' "b")
10main is not found
11------------ trace 16------------ trace
12funL :: forall a b . a -> b -> a 17funL :: forall a b . a -> b -> a
13funR :: forall a b . a -> b -> b 18funR :: forall a b . a -> b -> b
diff --git a/testdata/language-features/basic-values/typesig06.out b/testdata/language-features/basic-values/typesig06.out
index 664b9dec..b933dda4 100644
--- a/testdata/language-features/basic-values/typesig06.out
+++ b/testdata/language-features/basic-values/typesig06.out
@@ -1,9 +1,12 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2funL = \(a :: _) _ -> _rhs a 3funL = \(a :: _) _ -> _rhs a
4
3(<@) = \(a :: _) _ -> _rhs a 5(<@) = \(a :: _) _ -> _rhs a
6
4value1 = _rhs ("hi" <@ 1.2 :: String) 7value1 = _rhs ("hi" <@ 1.2 :: String)
8
5value2 = _rhs ("hi" `funL` 1.2 :: String) 9value2 = _rhs ("hi" `funL` 1.2 :: String)
6main is not found
7------------ trace 10------------ trace
8funL :: forall a b . a -> b -> a 11funL :: forall a b . a -> b -> a
9(<@) :: forall a b . a -> b -> a 12(<@) :: forall a b . a -> b -> a
diff --git a/testdata/language-features/basic-values/typesig07.out b/testdata/language-features/basic-values/typesig07.out
index 07a8d0b9..f300eced 100644
--- a/testdata/language-features/basic-values/typesig07.out
+++ b/testdata/language-features/basic-values/typesig07.out
@@ -1,17 +1,22 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 :: Int 3value1 :: Int
3value1 = _rhs (fromInt 1) 4value1 = _rhs (fromInt 1)
5
4value2 :: Int 6value2 :: Int
5value2 = _rhs (fromInt 2) 7value2 = _rhs (fromInt 2)
8
6value3 :: Int 9value3 :: Int
7value3 = _rhs (fromInt 3) 10value3 = _rhs (fromInt 3)
11
8value4 :: HList '[] -> HList '[] -> HList '[] 12value4 :: HList '[] -> HList '[] -> HList '[]
9value4 = \_ _ -> _rhs HNil 13value4 = \_ _ -> _rhs HNil
14
10(@@@) :: HList '[] -> HList '[] -> HList '[] 15(@@@) :: HList '[] -> HList '[] -> HList '[]
11(@@@) = \_ _ -> _rhs HNil 16(@@@) = \_ _ -> _rhs HNil
17
12value6 :: HList '[] -> HList '[] -> HList '[] 18value6 :: HList '[] -> HList '[] -> HList '[]
13value6 = \_ _ -> _rhs HNil 19value6 = \_ _ -> _rhs HNil
14main is not found
15------------ trace 20------------ trace
16value1 :: Int 21value1 :: Int
17value2 :: Int 22value2 :: Int
diff --git a/testdata/language-features/basic-values/typesyn01.out b/testdata/language-features/basic-values/typesyn01.out
index 1b35d979..9481b2bf 100644
--- a/testdata/language-features/basic-values/typesyn01.out
+++ b/testdata/language-features/basic-values/typesyn01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2'MyUnit = _rhs ('HList []) 3'MyUnit = _rhs ('HList [])
3main is not found
4------------ trace 4------------ trace
5'MyUnit :: Type 5'MyUnit :: Type
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/basic-values/typesyn02.out b/testdata/language-features/basic-values/typesyn02.out
index 7713c92a..74f2b730 100644
--- a/testdata/language-features/basic-values/typesyn02.out
+++ b/testdata/language-features/basic-values/typesyn02.out
@@ -1,8 +1,9 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2'MyUnit = _rhs ('HList []) 3'MyUnit = _rhs ('HList [])
4
3fun :: forall (a :: _) . a -> MyUnit -> MyUnit 5fun :: forall (a :: _) . a -> MyUnit -> MyUnit
4fun = \_ (a :: _) -> hlistNilCase _ (_rhs HNil) a 6fun = \_ (a :: _) -> hlistNilCase _ (_rhs HNil) a
5main is not found
6------------ trace 7------------ trace
7'MyUnit :: Type 8'MyUnit :: Type
8fun :: forall a . a -> () -> () 9fun :: forall a . a -> () -> ()
diff --git a/testdata/language-features/basic-values/where01.out b/testdata/language-features/basic-values/where01.out
index 9ff7eb28..d278100a 100644
--- a/testdata/language-features/basic-values/where01.out
+++ b/testdata/language-features/basic-values/where01.out
@@ -1,16 +1,26 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs \(a := _rhs HNil) -> HNil 3value1 = _rhs \(a := _rhs HNil) -> HNil
4
3value2 = _rhs \(a := _rhs HNil) -> a 5value2 = _rhs \(a := _rhs HNil) -> a
6
4value3 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a 7value3 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a
8
5value4 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> b 9value4 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> b
10
6value5 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a 11value5 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a
12
7value6 = _rhs HNil 13value6 = _rhs HNil
14
8value7 = _rhs HNil 15value7 = _rhs HNil
16
9value8 = _rhs HNil 17value8 = _rhs HNil
18
10value9 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a 19value9 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a
20
11value10 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a 21value10 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a
22
12value11 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a 23value11 = _rhs \(a := _rhs HNil) (b := _rhs HNil) -> a
13main is not found
14------------ trace 24------------ trace
15value1 :: () 25value1 :: ()
16value2 :: () 26value2 :: ()
diff --git a/testdata/language-features/basic-values/where04.out b/testdata/language-features/basic-values/where04.out
index f5e16747..39410991 100644
--- a/testdata/language-features/basic-values/where04.out
+++ b/testdata/language-features/basic-values/where04.out
@@ -1,8 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value1 = _rhs \(a := _rhs \(b := _rhs HNil) -> b) -> a 3value1 = _rhs \(a := _rhs \(b := _rhs HNil) -> b) -> a
4
3value2 = _rhs \(a := _rhs \(b := _rhs HNil) -> b) -> a 5value2 = _rhs \(a := _rhs \(b := _rhs HNil) -> b) -> a
6
4value3 = _rhs \(a := _rhs \(b := _rhs HNil) -> b) -> a 7value3 = _rhs \(a := _rhs \(b := _rhs HNil) -> b) -> a
5main is not found
6------------ trace 8------------ trace
7value1 :: () 9value1 :: ()
8value2 :: () 10value2 :: ()
diff --git a/testdata/language-features/basic-values/where05.out b/testdata/language-features/basic-values/where05.out
index 8c082555..08d64648 100644
--- a/testdata/language-features/basic-values/where05.out
+++ b/testdata/language-features/basic-values/where05.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 := _rhs HNil) -> b) 8 (\(b := _rhs HNil) -> b)
8 (fromInt 1 == a)) 9 (fromInt 1 == a))
9 (fromInt 1)) 10 (fromInt 1))
11
10value2 12value2
11 = _rhs 13 = _rhs
12 ((\(a :: _) -> case'Bool 14 ((\(a :: _) -> case'Bool
@@ -15,6 +17,7 @@ value2
15 (\(b := _rhs HNil) -> b) 17 (\(b := _rhs HNil) -> b)
16 (fromInt 1 == a)) 18 (fromInt 1 == a))
17 (fromInt 1)) 19 (fromInt 1))
20
18value3 21value3
19 = _rhs 22 = _rhs
20 ((\(a :: _) -> case'Bool 23 ((\(a :: _) -> case'Bool
@@ -23,11 +26,11 @@ value3
23 (\(b := _rhs HNil) -> b) 26 (\(b := _rhs HNil) -> b)
24 (fromInt 1 == a)) 27 (fromInt 1 == a))
25 (fromInt 1)) 28 (fromInt 1))
29
26value4 30value4
27 = _rhs 31 = _rhs
28 \(a := _rhs HNil) -> (\(b :: _) -> case'Bool (\_ -> _) HNil a (fromInt 1 == b)) 32 \(a := _rhs HNil) -> (\(b :: _) -> case'Bool (\_ -> _) HNil a (fromInt 1 == b))
29 (fromInt 1) 33 (fromInt 1)
30main is not found
31------------ trace 34------------ trace
32value1 :: forall a . (Eq a, Num a) => () 35value1 :: forall a . (Eq a, Num a) => ()
33value2 :: forall a . (Eq a, Num a) => () 36value2 :: forall a . (Eq a, Num a) => ()
diff --git a/testdata/language-features/basic-values/wildcard01.out b/testdata/language-features/basic-values/wildcard01.out
index 61b6a8c4..49f84c4b 100644
--- a/testdata/language-features/basic-values/wildcard01.out
+++ b/testdata/language-features/basic-values/wildcard01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2funUnit = \_ -> _rhs HNil 3funUnit = \_ -> _rhs HNil
3main is not found
4------------ trace 4------------ trace
5funUnit :: forall a . a -> () 5funUnit :: forall a . a -> ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/comment/comment01.out b/testdata/language-features/comment/comment01.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/comment/comment01.out
+++ b/testdata/language-features/comment/comment01.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/comment/comment02.out b/testdata/language-features/comment/comment02.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/comment/comment02.out
+++ b/testdata/language-features/comment/comment02.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/comment/comment03.out b/testdata/language-features/comment/comment03.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/comment/comment03.out
+++ b/testdata/language-features/comment/comment03.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/comment/comment04.out b/testdata/language-features/comment/comment04.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/comment/comment04.out
+++ b/testdata/language-features/comment/comment04.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/emptysource.out b/testdata/language-features/emptysource.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/emptysource.out
+++ b/testdata/language-features/emptysource.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/guard/guard01.out b/testdata/language-features/guard/guard01.out
index b4195756..1405debb 100644
--- a/testdata/language-features/guard/guard01.out
+++ b/testdata/language-features/guard/guard01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = case'Bool (\_ -> _) (_rhs undefined) (_rhs HNil) True 3value = case'Bool (\_ -> _) (_rhs undefined) (_rhs HNil) True
3main is not found
4------------ trace 4------------ trace
5value :: () 5value :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard03.out b/testdata/language-features/guard/guard03.out
index 7d7f8a4d..6540522a 100644
--- a/testdata/language-features/guard/guard03.out
+++ b/testdata/language-features/guard/guard03.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = case'Bool 4 = case'Bool
@@ -5,7 +6,6 @@ value
5 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False) 6 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False)
6 (_rhs "True") 7 (_rhs "True")
7 True 8 True
8main is not found
9------------ trace 9------------ trace
10value :: String 10value :: String
11------------ tooltips 11------------ tooltips
diff --git a/testdata/language-features/guard/guard04.out b/testdata/language-features/guard/guard04.out
index 21a9ff19..5b55275b 100644
--- a/testdata/language-features/guard/guard04.out
+++ b/testdata/language-features/guard/guard04.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = case'Bool (\_ -> _) (_rhs "False") (_rhs "True") True 3value = case'Bool (\_ -> _) (_rhs "False") (_rhs "True") True
3main is not found
4------------ trace 4------------ trace
5value :: String 5value :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard06.out b/testdata/language-features/guard/guard06.out
index a62258cc..c568bf3c 100644
--- a/testdata/language-features/guard/guard06.out
+++ b/testdata/language-features/guard/guard06.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs HNil 3value = _rhs HNil
3main is not found
4------------ trace 4------------ trace
5value :: () 5value :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard07.out b/testdata/language-features/guard/guard07.out
index acc704ba..acd4ea18 100644
--- a/testdata/language-features/guard/guard07.out
+++ b/testdata/language-features/guard/guard07.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = case'Bool 4 = case'Bool
@@ -5,7 +6,6 @@ value
5 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False) 6 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False)
6 (_rhs "True") 7 (_rhs "True")
7 True 8 True
8main is not found
9------------ trace 9------------ trace
10value :: String 10value :: String
11------------ tooltips 11------------ tooltips
diff --git a/testdata/language-features/guard/guard08.out b/testdata/language-features/guard/guard08.out
index eeef1da6..1f5e5ab3 100644
--- a/testdata/language-features/guard/guard08.out
+++ b/testdata/language-features/guard/guard08.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = case'Bool 4 = case'Bool
@@ -5,7 +6,6 @@ value
5 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False) 6 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False)
6 (_rhs "True") 7 (_rhs "True")
7 True 8 True
8main is not found
9------------ trace 9------------ trace
10value :: String 10value :: String
11------------ tooltips 11------------ tooltips
diff --git a/testdata/language-features/guard/guard09.out b/testdata/language-features/guard/guard09.out
index 09a72fa0..1aa3c7a2 100644
--- a/testdata/language-features/guard/guard09.out
+++ b/testdata/language-features/guard/guard09.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = case'Bool 4 = case'Bool
@@ -5,7 +6,6 @@ value
5 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False) 6 (case'Bool (\_ -> _) (_rhs undefined) (_rhs "False") False)
6 (_rhs "True") 7 (_rhs "True")
7 True 8 True
8main is not found
9------------ trace 9------------ trace
10value :: String 10value :: String
11------------ tooltips 11------------ tooltips
diff --git a/testdata/language-features/guard/guard11.out b/testdata/language-features/guard/guard11.out
index 1d173fb2..b8449128 100644
--- a/testdata/language-features/guard/guard11.out
+++ b/testdata/language-features/guard/guard11.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = \(a :: _) -> case'Bool (\_ -> _) (_rhs "False") (_rhs "True") a 3fun = \(a :: _) -> case'Bool (\_ -> _) (_rhs "False") (_rhs "True") a
3main is not found
4------------ trace 4------------ trace
5fun :: Bool -> String 5fun :: Bool -> String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard13.out b/testdata/language-features/guard/guard13.out
index e8bd4c84..3c1e364a 100644
--- a/testdata/language-features/guard/guard13.out
+++ b/testdata/language-features/guard/guard13.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = \(a :: _) -> case'Bool (\_ -> _) (_rhs HNil) (_rhs HNil) a 3fun = \(a :: _) -> case'Bool (\_ -> _) (_rhs HNil) (_rhs HNil) a
3main is not found
4------------ trace 4------------ trace
5fun :: Bool -> () 5fun :: Bool -> ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard14.out b/testdata/language-features/guard/guard14.out
index e0b32348..a5a039bf 100644
--- a/testdata/language-features/guard/guard14.out
+++ b/testdata/language-features/guard/guard14.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs \(a := case'Bool (\_ -> _) (_rhs HNil) (_rhs HNil) True) -> HNil 3value = _rhs \(a := case'Bool (\_ -> _) (_rhs HNil) (_rhs HNil) True) -> HNil
3main is not found
4------------ trace 4------------ trace
5value :: () 5value :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard15.out b/testdata/language-features/guard/guard15.out
index 733c2b34..5c7fc3b8 100644
--- a/testdata/language-features/guard/guard15.out
+++ b/testdata/language-features/guard/guard15.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs \(a := case'Bool (\_ -> _) (_rhs HNil) (_rhs HNil) True) -> HNil 3value = _rhs \(a := case'Bool (\_ -> _) (_rhs HNil) (_rhs HNil) True) -> HNil
3main is not found
4------------ trace 4------------ trace
5value :: () 5value :: ()
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/guard/guard16.out b/testdata/language-features/guard/guard16.out
index 4fc90e30..311d7db0 100644
--- a/testdata/language-features/guard/guard16.out
+++ b/testdata/language-features/guard/guard16.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
@@ -7,7 +8,6 @@ value
7 (case'Bool (\_ -> _) HNil HNil True) 8 (case'Bool (\_ -> _) HNil HNil True)
8 (fromInt 1 == a)) 9 (fromInt 1 == a))
9 (fromInt 1)) 10 (fromInt 1))
10main is not found
11------------ trace 11------------ trace
12value :: forall a . (Eq a, Num a) => () 12value :: forall a . (Eq a, Num a) => ()
13------------ tooltips 13------------ tooltips
diff --git a/testdata/language-features/module/Hello01.out b/testdata/language-features/module/Hello01.out
index aee194f1..34f3f918 100644
--- a/testdata/language-features/module/Hello01.out
+++ b/testdata/language-features/module/Hello01.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
4
3world = _rhs "world" 5world = _rhs "world"
4main is not found
5------------ trace 6------------ trace
6hello :: String 7hello :: String
7world :: String 8world :: String
diff --git a/testdata/language-features/module/Hello02.out b/testdata/language-features/module/Hello02.out
index 9d582484..fc3a7be7 100644
--- a/testdata/language-features/module/Hello02.out
+++ b/testdata/language-features/module/Hello02.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
4
3world = _rhs "world" 5world = _rhs "world"
4main is not found
5------------ trace 6------------ trace
6hello :: String 7hello :: String
7world :: String 8world :: String
diff --git a/testdata/language-features/module/Hello03.out b/testdata/language-features/module/Hello03.out
index 98956c8a..8a645fda 100644
--- a/testdata/language-features/module/Hello03.out
+++ b/testdata/language-features/module/Hello03.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2greeting = _rhs 'G' 3greeting = _rhs 'G'
4
3value = _rhs 12.2 5value = _rhs 12.2
4main is not found
5------------ trace 6------------ trace
6greeting :: Char 7greeting :: Char
7value :: Float 8value :: Float
diff --git a/testdata/language-features/module/ModulePackage/SubModule01.out b/testdata/language-features/module/ModulePackage/SubModule01.out
index 44457c17..119eaeac 100644
--- a/testdata/language-features/module/ModulePackage/SubModule01.out
+++ b/testdata/language-features/module/ModulePackage/SubModule01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "Hello" 3hello = _rhs "Hello"
3main is not found
4------------ trace 4------------ trace
5hello :: String 5hello :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/Moduledef01.out b/testdata/language-features/module/Moduledef01.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/module/Moduledef01.out
+++ b/testdata/language-features/module/Moduledef01.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/module/Moduledef06.out b/testdata/language-features/module/Moduledef06.out
index 95f989ee..ef523d5a 100644
--- a/testdata/language-features/module/Moduledef06.out
+++ b/testdata/language-features/module/Moduledef06.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
3main is not found
4------------ trace 4------------ trace
5hello :: String 5hello :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/Moduledef07.out b/testdata/language-features/module/Moduledef07.out
index 0dafaaa8..ac2aa83e 100644
--- a/testdata/language-features/module/Moduledef07.out
+++ b/testdata/language-features/module/Moduledef07.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
3main is not found
4------------ trace 4------------ trace
5hello :: String 5hello :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/Moduledef08.out b/testdata/language-features/module/Moduledef08.out
index d7add14b..e2b3e946 100644
--- a/testdata/language-features/module/Moduledef08.out
+++ b/testdata/language-features/module/Moduledef08.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
3main is not found
4------------ trace 4------------ trace
5hello :: String 5hello :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/Moduledef09.out b/testdata/language-features/module/Moduledef09.out
index f90be0b2..503326bb 100644
--- a/testdata/language-features/module/Moduledef09.out
+++ b/testdata/language-features/module/Moduledef09.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
4
3world = _rhs "world" 5world = _rhs "world"
4main is not found
5------------ trace 6------------ trace
6hello :: String 7hello :: String
7world :: String 8world :: String
diff --git a/testdata/language-features/module/Moduledef10.out b/testdata/language-features/module/Moduledef10.out
index 2928a534..42b98df9 100644
--- a/testdata/language-features/module/Moduledef10.out
+++ b/testdata/language-features/module/Moduledef10.out
@@ -1,8 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
4
3world = _rhs "world" 5world = _rhs "world"
6
4value = _rhs HNil 7value = _rhs HNil
5main is not found
6------------ trace 8------------ trace
7hello :: String 9hello :: String
8world :: String 10world :: String
diff --git a/testdata/language-features/module/Moduledef13.out b/testdata/language-features/module/Moduledef13.out
index 7b6fb91d..90ae50c7 100644
--- a/testdata/language-features/module/Moduledef13.out
+++ b/testdata/language-features/module/Moduledef13.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs "hello" 3hello = _rhs "hello"
3main is not found
4------------ trace 4------------ trace
5hello :: String 5hello :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/TypeSyn01Mod.out b/testdata/language-features/module/TypeSyn01Mod.out
index a43e184e..51565796 100644
--- a/testdata/language-features/module/TypeSyn01Mod.out
+++ b/testdata/language-features/module/TypeSyn01Mod.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2'MyUnit = _rhs ('HList []) 3'MyUnit = _rhs ('HList [])
3main is not found
4------------ trace 4------------ trace
5'MyUnit :: Type 5'MyUnit :: Type
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/import01.out b/testdata/language-features/module/import01.out
index 0c9e505e..531eae39 100644
--- a/testdata/language-features/module/import01.out
+++ b/testdata/language-features/module/import01.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2x = _rhs hello 3x = _rhs hello
3main is not found
4------------ trace 4------------ trace
5x :: String 5x :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/import05.out b/testdata/language-features/module/import05.out
index 4cb3a2f4..9dfe0dba 100644
--- a/testdata/language-features/module/import05.out
+++ b/testdata/language-features/module/import05.out
@@ -1,7 +1,7 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2x :: String 3x :: String
3x = _rhs hello 4x = _rhs hello
4main is not found
5------------ trace 5------------ trace
6x :: String 6x :: String
7------------ tooltips 7------------ tooltips
diff --git a/testdata/language-features/module/import06.out b/testdata/language-features/module/import06.out
index a8852987..fd792bd3 100644
--- a/testdata/language-features/module/import06.out
+++ b/testdata/language-features/module/import06.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs HNil 3hello = _rhs HNil
4
3x = _rhs world 5x = _rhs world
4main is not found
5------------ trace 6------------ trace
6hello :: () 7hello :: ()
7x :: String 8x :: String
diff --git a/testdata/language-features/module/import07.out b/testdata/language-features/module/import07.out
index c9285662..4bb045c3 100644
--- a/testdata/language-features/module/import07.out
+++ b/testdata/language-features/module/import07.out
@@ -1,7 +1,8 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2hello = _rhs HNil 3hello = _rhs HNil
4
3x = _rhs world 5x = _rhs world
4main is not found
5------------ trace 6------------ trace
6hello :: () 7hello :: ()
7x :: String 8x :: String
diff --git a/testdata/language-features/module/import08.out b/testdata/language-features/module/import08.out
index ce0235db..aad9ca58 100644
--- a/testdata/language-features/module/import08.out
+++ b/testdata/language-features/module/import08.out
@@ -1,12 +1,15 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value = _rhs HNil 3value = _rhs HNil
4
3g :: Char 5g :: Char
4g = _rhs greeting 6g = _rhs greeting
7
5h :: String 8h :: String
6h = _rhs hello 9h = _rhs hello
10
7w :: String 11w :: String
8w = _rhs world 12w = _rhs world
9main is not found
10------------ trace 13------------ trace
11value :: () 14value :: ()
12g :: Char 15g :: Char
diff --git a/testdata/language-features/module/import09.out b/testdata/language-features/module/import09.out
index 42b1de3a..12e13325 100644
--- a/testdata/language-features/module/import09.out
+++ b/testdata/language-features/module/import09.out
@@ -1,7 +1,7 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun :: forall (a :: _) . a -> MyUnit -> MyUnit 3fun :: forall (a :: _) . a -> MyUnit -> MyUnit
3fun = \_ (a :: _) -> hlistNilCase _ (_rhs HNil) a 4fun = \_ (a :: _) -> hlistNilCase _ (_rhs HNil) a
4main is not found
5------------ trace 5------------ trace
6fun :: forall a . a -> () -> () 6fun :: forall a . a -> () -> ()
7------------ tooltips 7------------ tooltips
diff --git a/testdata/language-features/module/import12.out b/testdata/language-features/module/import12.out
index 32b7bdd8..df4d894b 100644
--- a/testdata/language-features/module/import12.out
+++ b/testdata/language-features/module/import12.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = _rhs hello 3fun = _rhs hello
3main is not found
4------------ trace 4------------ trace
5fun :: String 5fun :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/import13.out b/testdata/language-features/module/import13.out
index 7167ad27..68ed44d8 100644
--- a/testdata/language-features/module/import13.out
+++ b/testdata/language-features/module/import13.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = _rhs hello 3fun = _rhs hello
3main is not found
4------------ trace 4------------ trace
5fun :: String 5fun :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/import14.out b/testdata/language-features/module/import14.out
index 19d18b88..958207ba 100644
--- a/testdata/language-features/module/import14.out
+++ b/testdata/language-features/module/import14.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = _rhs hello 3fun = _rhs hello
3main is not found
4------------ trace 4------------ trace
5fun :: String 5fun :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/module/import15.out b/testdata/language-features/module/import15.out
index bb60b565..8727ac08 100644
--- a/testdata/language-features/module/import15.out
+++ b/testdata/language-features/module/import15.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun = _rhs hello 3fun = _rhs hello
3main is not found
4------------ trace 4------------ trace
5fun :: String 5fun :: String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/pattern/pattern01.out b/testdata/language-features/pattern/pattern01.out
index 1683fdec..eeda616d 100644
--- a/testdata/language-features/pattern/pattern01.out
+++ b/testdata/language-features/pattern/pattern01.out
@@ -1,9 +1,12 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun1 = \(a :: _) -> case'Bool (\_ -> _) (_rhs '_') (_rhs '0') (fromInt 0 == a) 3fun1 = \(a :: _) -> case'Bool (\_ -> _) (_rhs '_') (_rhs '0') (fromInt 0 == a)
4
3fun2 = \(a :: _) -> case'Bool (\_ -> _) (_rhs '_') (_rhs '0') ("0" == a) 5fun2 = \(a :: _) -> case'Bool (\_ -> _) (_rhs '_') (_rhs '0') ("0" == a)
6
4fun3 = \(a :: _) -> case'Bool (\_ -> _) (_rhs '_') (_rhs '0') ('0' == a) 7fun3 = \(a :: _) -> case'Bool (\_ -> _) (_rhs '_') (_rhs '0') ('0' == a)
8
5fun4 = \(a :: _) -> hlistNilCase _ (_rhs '0') a 9fun4 = \(a :: _) -> hlistNilCase _ (_rhs '0') a
6main is not found
7------------ trace 10------------ trace
8fun1 :: forall a . (Eq a, Num a) => a -> Char 11fun1 :: forall a . (Eq a, Num a) => a -> Char
9fun2 :: String -> Char 12fun2 :: String -> Char
diff --git a/testdata/language-features/pattern/uncovered.out b/testdata/language-features/pattern/uncovered.out
index 531a913a..4302e4ac 100644
--- a/testdata/language-features/pattern/uncovered.out
+++ b/testdata/language-features/pattern/uncovered.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2f 3f
3 = \(a :: _) (b :: _) (c :: _) -> case'Bool 4 = \(a :: _) (b :: _) (c :: _) -> case'Bool
@@ -13,6 +14,7 @@ f
13 (case'Bool (\_ -> _) (_rhs (fromInt 1)) (_rhs undefined) a) 14 (case'Bool (\_ -> _) (_rhs (fromInt 1)) (_rhs undefined) a)
14 c) 15 c)
15 b 16 b
17
16g 18g
17 = \(a :: _) -> case'List 19 = \(a :: _) -> case'List
18 (\_ -> _) 20 (\_ -> _)
@@ -39,6 +41,7 @@ g
39 c) 41 c)
40 b) 42 b)
41 a 43 a
44
42h 45h
43 = \(a :: _) -> case'List 46 = \(a :: _) -> case'List
44 (\_ -> _) 47 (\_ -> _)
@@ -73,7 +76,6 @@ h
73 d) 76 d)
74 b) 77 b)
75 a 78 a
76main is not found
77------------ trace 79------------ trace
78f :: forall a . Num a => Bool -> Bool -> Bool -> a 80f :: forall a . Num a => Bool -> Bool -> Bool -> a
79g :: [Bool] -> Bool 81g :: [Bool] -> Bool
diff --git a/testdata/language-features/pattern/unreachable.out b/testdata/language-features/pattern/unreachable.out
index 06c9ca43..f7961855 100644
--- a/testdata/language-features/pattern/unreachable.out
+++ b/testdata/language-features/pattern/unreachable.out
@@ -1,6 +1,6 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2f = \_ -> _rhs "hello" 3f = \_ -> _rhs "hello"
3main is not found
4------------ trace 4------------ trace
5f :: forall a . a -> String 5f :: forall a . a -> String
6------------ tooltips 6------------ tooltips
diff --git a/testdata/language-features/pragma/pragma01.out b/testdata/language-features/pragma/pragma01.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/pragma/pragma01.out
+++ b/testdata/language-features/pragma/pragma01.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/pragma/pragma02.out b/testdata/language-features/pragma/pragma02.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/pragma/pragma02.out
+++ b/testdata/language-features/pragma/pragma02.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/pragma/pragma03.out b/testdata/language-features/pragma/pragma03.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/pragma/pragma03.out
+++ b/testdata/language-features/pragma/pragma03.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/pragma/pragma04.out b/testdata/language-features/pragma/pragma04.out
index 907bca84..521dcdfe 100644
--- a/testdata/language-features/pragma/pragma04.out
+++ b/testdata/language-features/pragma/pragma04.out
@@ -1,2 +1,2 @@
1------------ desugared source code
2main is not found 1main is not found
2------------ desugared source code \ No newline at end of file
diff --git a/testdata/language-features/recursion/simplerec01.out b/testdata/language-features/recursion/simplerec01.out
index 89006870..656adc64 100644
--- a/testdata/language-features/recursion/simplerec01.out
+++ b/testdata/language-features/recursion/simplerec01.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2fun 3fun
3 = \(a :: _) -> case'Bool 4 = \(a :: _) -> case'Bool
@@ -5,7 +6,6 @@ fun
5 (_rhs (fun (fromInt 0))) 6 (_rhs (fun (fromInt 0)))
6 (_rhs 'a') 7 (_rhs 'a')
7 (fromInt 0 == a) 8 (fromInt 0 == a)
8main is not found
9------------ trace 9------------ trace
10fun :: forall a . (Num a, Eq a, Num a) => a -> Char 10fun :: forall a . (Num a, Eq a, Num a) => a -> Char
11------------ tooltips 11------------ tooltips
diff --git a/testdata/language-features/recursion/simplerec02.out b/testdata/language-features/recursion/simplerec02.out
index 7f24ea1c..c0d26e86 100644
--- a/testdata/language-features/recursion/simplerec02.out
+++ b/testdata/language-features/recursion/simplerec02.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
@@ -8,7 +9,6 @@ value
8 (_rhs (b (fromInt 0))) 9 (_rhs (b (fromInt 0)))
9 (_rhs 'a') 10 (_rhs 'a')
10 (fromInt 0 == c)) -> HNil 11 (fromInt 0 == c)) -> HNil
11main is not found
12------------ trace 12------------ trace
13value :: () 13value :: ()
14------------ tooltips 14------------ tooltips
diff --git a/testdata/language-features/recursion/simplerec03.out b/testdata/language-features/recursion/simplerec03.out
index 512baba5..5c4f7185 100644
--- a/testdata/language-features/recursion/simplerec03.out
+++ b/testdata/language-features/recursion/simplerec03.out
@@ -1,3 +1,4 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2value 3value
3 = _rhs 4 = _rhs
@@ -8,7 +9,6 @@ value
8 (_rhs (b (fromInt 0))) 9 (_rhs (b (fromInt 0)))
9 (_rhs 'a') 10 (_rhs 'a')
10 (fromInt 0 == c)) -> HNil 11 (fromInt 0 == c)) -> HNil
11main is not found
12------------ trace 12------------ trace
13value :: () 13value :: ()
14------------ tooltips 14------------ tooltips
diff --git a/testdata/language-features/section/section01.out b/testdata/language-features/section/section01.out
index dd5e5093..a502f9f5 100644
--- a/testdata/language-features/section/section01.out
+++ b/testdata/language-features/section/section01.out
@@ -1,8 +1,10 @@
1main is not found
1------------ desugared source code 2------------ desugared source code
2(!@!) = \_ _ -> _rhs HNil 3(!@!) = \_ _ -> _rhs HNil
4
3value1 = \(a :: _) -> _rhs \(b :: _) -> a !@! b 5value1 = \(a :: _) -> _rhs \(b :: _) -> a !@! b
6
4value2 = \(a :: _) -> _rhs \(b :: _) -> b !@! a 7value2 = \(a :: _) -> _rhs \(b :: _) -> b !@! a
5main is not found
6------------ trace 8------------ trace
7(!@!) :: forall a b . a -> b -> () 9(!@!) :: forall a b . a -> b -> ()
8value1 :: forall a b . a -> b -> () 10value1 :: forall a b . a -> b -> ()