diff options
Diffstat (limited to 'testdata/listcompr01.out')
-rw-r--r-- | testdata/listcompr01.out | 94 |
1 files changed, 93 insertions, 1 deletions
diff --git a/testdata/listcompr01.out b/testdata/listcompr01.out index 4791ed55..0b839ae1 100644 --- a/testdata/listcompr01.out +++ b/testdata/listcompr01.out | |||
@@ -1 +1,93 @@ | |||
1 | True \ No newline at end of file | 1 | main :: Bool |
2 | main = True | ||
3 | ------------ desugared source code | ||
4 | a :: [(Float, Float)] | ||
5 | a | ||
6 | = _lhs | ||
7 | a | ||
8 | (_rhs (concatMap (\(a :: _) -> concatMap (\(b :: _) -> [(a, b)]) [1.0]) [1.0])) | ||
9 | |||
10 | main :: Bool | ||
11 | main | ||
12 | = _lhs | ||
13 | main | ||
14 | (_rhs | ||
15 | ((\(a :: _) -> case'List | ||
16 | (\(_ :: _) -> _) | ||
17 | undefined | ||
18 | (\(b :: _) (c :: _) -> hlistConsCase | ||
19 | _ | ||
20 | (\(d :: _) (e :: _) -> case'Bool | ||
21 | (\(_ :: _) -> _) | ||
22 | undefined | ||
23 | (hlistConsCase | ||
24 | _ | ||
25 | (\(f :: _) (g :: _) -> case'Bool | ||
26 | (\(_ :: _) -> _) | ||
27 | undefined | ||
28 | (hlistNilCase | ||
29 | _ | ||
30 | (case'List (\(_ :: _) -> _) True (\(_ :: _) (_ :: _) -> undefined) c) | ||
31 | g) | ||
32 | (1.0 == f)) | ||
33 | e) | ||
34 | (1.0 == d)) | ||
35 | b) | ||
36 | a) | ||
37 | a)) | ||
38 | ------------ core code | ||
39 | a :: [(Float, Float)] | ||
40 | a = _rhs [(1.0, 1.0)] | ||
41 | |||
42 | main :: Bool | ||
43 | main = _rhs True | ||
44 | ------------ tooltips | ||
45 | testdata/listcompr01.lc 1:6-1:21 | ||
46 | Type | ||
47 | testdata/listcompr01.lc 1:7-1:20 | ||
48 | Type | ||
49 | testdata/listcompr01.lc 1:8-1:13 | ||
50 | Type | ||
51 | testdata/listcompr01.lc 1:8-1:19 | ||
52 | [Type] | ||
53 | testdata/listcompr01.lc 1:14-1:19 | ||
54 | Type | [Type] | ||
55 | testdata/listcompr01.lc 2:1-2:2 | ||
56 | [(Float, Float)] | ||
57 | testdata/listcompr01.lc 2:5-2:35 | ||
58 | [(Float, Float)] | ||
59 | testdata/listcompr01.lc 2:6-2:11 | ||
60 | (_f, _c) | [(_e, _b)] | ||
61 | testdata/listcompr01.lc 2:6-2:34 | ||
62 | [(_b, Float)] | ||
63 | testdata/listcompr01.lc 2:7-2:8 | ||
64 | _i | ||
65 | testdata/listcompr01.lc 2:9-2:10 | ||
66 | _f | ((_c)) | ||
67 | testdata/listcompr01.lc 2:17-2:22 | ||
68 | [Float] | ||
69 | testdata/listcompr01.lc 2:18-2:21 | ||
70 | Float | ||
71 | testdata/listcompr01.lc 2:29-2:34 | ||
72 | [Float] | ||
73 | testdata/listcompr01.lc 2:30-2:33 | ||
74 | Float | ||
75 | testdata/listcompr01.lc 4:9-4:13 | ||
76 | Type | ||
77 | testdata/listcompr01.lc 5:1-5:5 | ||
78 | Bool | ||
79 | testdata/listcompr01.lc 5:8-6:29 | ||
80 | Bool | ||
81 | testdata/listcompr01.lc 5:13-5:14 | ||
82 | [(Float, Float)] | ||
83 | testdata/listcompr01.lc 6:25-6:29 | ||
84 | Bool | Bool | Bool | Bool | Bool | Bool | Bool | ||
85 | ------------ warnings | ||
86 | Uncovered pattern(s) at testdata/listcompr01.lc:5:13: | ||
87 | main = case a of | ||
88 | ^ | ||
89 | Missing case(s): | ||
90 | [] | ||
91 | (HCons _ _ : _) | False <- 1.0 == _b | ||
92 | (HCons _ (HCons _ _) : _) | True <- 1.0 == _b, False <- 1.0 == _b | ||
93 | ((_, _) : _ : _) | True <- 1.0 == _b, True <- 1.0 == _b \ No newline at end of file | ||