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