diff options
Diffstat (limited to 'testdata/it.out')
-rw-r--r-- | testdata/it.out | 102 |
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 @@ | |||
1 | True \ No newline at end of file | 1 | main :: Bool |
2 | main = True | ||
3 | ------------ desugared source code | ||
4 | from = _lhs from (_rhs \(a :: _) -> a : from (primAddInt (fromInt 1) a)) | ||
5 | |||
6 | main | ||
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 | ||
35 | from :: Int -> [Int] | ||
36 | from = primFix ('Int -> ['Int]) \a -> _rhs \b -> b : a (primAddInt 1 b) | ||
37 | |||
38 | main :: Bool | ||
39 | main = _rhs True | ||
40 | ------------ tooltips | ||
41 | testdata/it.lc 4:1-4:5 | ||
42 | Int -> [Int] | ||
43 | testdata/it.lc 4:14-4:15 | ||
44 | _c | ||
45 | testdata/it.lc 4:14-4:16 | ||
46 | [_b] -> [_b] | ||
47 | testdata/it.lc 4:14-4:38 | ||
48 | [Int] | ||
49 | testdata/it.lc 4:15-4:16 | ||
50 | forall a . a -> [a] -> [a] | ||
51 | testdata/it.lc 4:17-4:21 | ||
52 | _d | ||
53 | testdata/it.lc 4:23-4:33 | ||
54 | Int -> Int -> Int | ||
55 | testdata/it.lc 4:23-4:35 | ||
56 | Int -> Int | ||
57 | testdata/it.lc 4:23-4:37 | ||
58 | Int | ||
59 | testdata/it.lc 4:34-4:35 | ||
60 | _b | ||
61 | testdata/it.lc 4:36-4:37 | ||
62 | _e | ||
63 | testdata/it.lc 6:1-6:5 | ||
64 | Bool | ||
65 | testdata/it.lc 6:8-7:57 | ||
66 | Bool | ||
67 | testdata/it.lc 6:13-6:17 | ||
68 | Int -> [Int] | ||
69 | testdata/it.lc 6:13-6:19 | ||
70 | [Int] | ||
71 | testdata/it.lc 6:18-6:19 | ||
72 | _b | ||
73 | testdata/it.lc 7:20-7:57 | ||
74 | Bool | Bool | Bool | Bool | ||
75 | testdata/it.lc 7:25-7:39 | ||
76 | Int -> Int -> Ordering | ||
77 | testdata/it.lc 7:25-7:41 | ||
78 | Int -> Ordering | ||
79 | testdata/it.lc 7:25-7:43 | ||
80 | Ordering | ||
81 | testdata/it.lc 7:40-7:41 | ||
82 | _c | ||
83 | testdata/it.lc 7:42-7:43 | ||
84 | _b | ||
85 | testdata/it.lc 7:53-7:57 | ||
86 | Bool | ||
87 | ------------ warnings | ||
88 | Uncovered pattern(s) at testdata/it.lc:7:25: | ||
89 | (_:_:_:i:_) -> case primCompareInt i 3 of EQ -> True | ||
90 | ^^^^^^^^^^^^^^^^^^ | ||
91 | Missing case(s): | ||
92 | LT | ||
93 | GT | ||
94 | Uncovered pattern(s) at testdata/it.lc:6:13: | ||
95 | main = case from 0 of | ||
96 | ^^^^^^ | ||
97 | Missing case(s): | ||
98 | [] | ||
99 | [_] | ||
100 | [_, _] | ||
101 | [_, _, _] \ No newline at end of file | ||