summaryrefslogtreecommitdiff
path: root/testdata/it.out
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/it.out')
-rw-r--r--testdata/it.out102
1 files changed, 101 insertions, 1 deletions
diff --git a/testdata/it.out b/testdata/it.out
index 4791ed55..0c3dce37 100644
--- a/testdata/it.out
+++ b/testdata/it.out
@@ -1 +1,101 @@
1True \ No newline at end of file 1main :: Bool
2main = True
3------------ desugared source code
4from = _lhs from (_rhs \(a :: _) -> a : from (primAddInt (fromInt 1) a))
5
6main
7 = _lhs
8 main
9 (_rhs
10 ((\(a :: _) -> case'List
11 (\(_ :: _) -> _)
12 undefined
13 (\(_ :: _) (b :: _) -> case'List
14 (\(_ :: _) -> _)
15 undefined
16 (\(_ :: _) (c :: _) -> case'List
17 (\(_ :: _) -> _)
18 undefined
19 (\(_ :: _) (d :: _) -> case'List
20 (\(_ :: _) -> _)
21 undefined
22 (\(e :: _) (_ :: _) -> (\(f :: _) -> case'Ordering
23 (\(_ :: _) -> _)
24 undefined
25 True
26 undefined
27 f)
28 (primCompareInt e (fromInt 3)))
29 d)
30 c)
31 b)
32 a)
33 (from (fromInt 0))))
34------------ core code
35from :: Int -> [Int]
36from = primFix ('Int -> ['Int]) \a -> _rhs \b -> b : a (primAddInt 1 b)
37
38main :: Bool
39main = _rhs True
40------------ tooltips
41testdata/it.lc 4:1-4:5
42 Int -> [Int]
43testdata/it.lc 4:14-4:15
44 _c
45testdata/it.lc 4:14-4:16
46 [_b] -> [_b]
47testdata/it.lc 4:14-4:38
48 [Int]
49testdata/it.lc 4:15-4:16
50 forall a . a -> [a] -> [a]
51testdata/it.lc 4:17-4:21
52 _d
53testdata/it.lc 4:23-4:33
54 Int -> Int -> Int
55testdata/it.lc 4:23-4:35
56 Int -> Int
57testdata/it.lc 4:23-4:37
58 Int
59testdata/it.lc 4:34-4:35
60 _b
61testdata/it.lc 4:36-4:37
62 _e
63testdata/it.lc 6:1-6:5
64 Bool
65testdata/it.lc 6:8-7:57
66 Bool
67testdata/it.lc 6:13-6:17
68 Int -> [Int]
69testdata/it.lc 6:13-6:19
70 [Int]
71testdata/it.lc 6:18-6:19
72 _b
73testdata/it.lc 7:20-7:57
74 Bool | Bool | Bool | Bool
75testdata/it.lc 7:25-7:39
76 Int -> Int -> Ordering
77testdata/it.lc 7:25-7:41
78 Int -> Ordering
79testdata/it.lc 7:25-7:43
80 Ordering
81testdata/it.lc 7:40-7:41
82 _c
83testdata/it.lc 7:42-7:43
84 _b
85testdata/it.lc 7:53-7:57
86 Bool
87------------ warnings
88Uncovered pattern(s) at testdata/it.lc:7:25:
89 (_:_:_:i:_) -> case primCompareInt i 3 of EQ -> True
90 ^^^^^^^^^^^^^^^^^^
91Missing case(s):
92 LT
93 GT
94Uncovered pattern(s) at testdata/it.lc:6:13:
95main = case from 0 of
96 ^^^^^^
97Missing case(s):
98 []
99 [_]
100 [_, _]
101 [_, _, _] \ No newline at end of file