summaryrefslogtreecommitdiff
path: root/testdata/listcompr04.out
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/listcompr04.out')
-rw-r--r--testdata/listcompr04.out91
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 @@
1True \ No newline at end of file 1main :: Bool
2main = True
3------------ desugared source code
4a :: [Float]
5a
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
13main :: Bool
14main
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
37a :: [Float]
38a = _rhs [2.0, 4.0]
39
40main :: Bool
41main = _rhs True
42------------ tooltips
43testdata/listcompr04.lc 1:6-1:13
44 Type
45testdata/listcompr04.lc 1:7-1:12
46 Type
47testdata/listcompr04.lc 2:1-2:2
48 [Float]
49testdata/listcompr04.lc 2:6-2:7
50 _f
51testdata/listcompr04.lc 2:6-2:9
52 MatVecScalarElem _e -> _e
53testdata/listcompr04.lc 2:6-2:10
54 _e | [_d]
55testdata/listcompr04.lc 2:6-2:36
56 [Float]
57testdata/listcompr04.lc 2:7-2:9
58 forall a . Num (MatVecScalarElem a) => a -> MatVecScalarElem a -> a
59testdata/listcompr04.lc 2:9-2:10
60 Float
61testdata/listcompr04.lc 2:15-2:16
62 _b | Float
63testdata/listcompr04.lc 2:19-2:22
64 Float
65testdata/listcompr04.lc 2:28-2:36
66 [Float]
67testdata/listcompr04.lc 2:29-2:32
68 Float
69testdata/listcompr04.lc 2:34-2:35
70 Float | [Float]
71testdata/listcompr04.lc 4:9-4:13
72 Type
73testdata/listcompr04.lc 5:1-5:5
74 Bool
75testdata/listcompr04.lc 5:8-6:28
76 Bool
77testdata/listcompr04.lc 5:13-5:14
78 [Float]
79testdata/listcompr04.lc 6:24-6:28
80 Bool | Bool | Bool | Bool | Bool
81------------ warnings
82Uncovered pattern(s) at testdata/listcompr04.lc:5:13:
83main = case a of
84 ^
85Missing 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