diff options
Diffstat (limited to 'testdata/language-features/basic-list')
26 files changed, 266 insertions, 266 deletions
diff --git a/testdata/language-features/basic-list/dotdot01.out b/testdata/language-features/basic-list/dotdot01.out index b1e0fac8..9a9defd3 100644 --- a/testdata/language-features/basic-list/dotdot01.out +++ b/testdata/language-features/basic-list/dotdot01.out | |||
@@ -6,11 +6,11 @@ main = _lhs main (_rhs (fromTo (fromInt 1) (fromInt 10))) | |||
6 | main :: [Float] | 6 | main :: [Float] |
7 | main = _rhs (1.0 : fromTo (1.0 + 1.0) 10.0) | 7 | main = _rhs (1.0 : fromTo (1.0 + 1.0) 10.0) |
8 | ------------ tooltips | 8 | ------------ tooltips |
9 | dotdot01.lc 2:1-2:5 | 9 | 2:1-2:5 |
10 | [Float] | 10 | [Float] |
11 | dotdot01.lc 2:8-2:15 | 11 | 2:8-2:15 |
12 | [Float] | 12 | [Float] |
13 | dotdot01.lc 2:9-2:10 | 13 | 2:9-2:10 |
14 | _b | 14 | _b |
15 | dotdot01.lc 2:12-2:14 | 15 | 2:12-2:14 |
16 | _b \ No newline at end of file | 16 | _b \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list01.out b/testdata/language-features/basic-list/list01.out index e8fabda7..c084335f 100644 --- a/testdata/language-features/basic-list/list01.out +++ b/testdata/language-features/basic-list/list01.out | |||
@@ -16,43 +16,43 @@ value2 | |||
16 | value3 :: [Char] | 16 | value3 :: [Char] |
17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] | 17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] |
18 | ------------ tooltips | 18 | ------------ tooltips |
19 | list01.lc 1:1-1:7 | 19 | 1:1-1:7 |
20 | forall a . [a] | 20 | forall a . [a] |
21 | list01.lc 1:10-1:12 | 21 | 1:10-1:12 |
22 | forall a . [a] | 22 | forall a . [a] |
23 | list01.lc 2:1-2:7 | 23 | 2:1-2:7 |
24 | forall a . Num a => [a] | 24 | forall a . Num a => [a] |
25 | list01.lc 2:10-2:19 | 25 | 2:10-2:19 |
26 | [_c] | 26 | [_c] |
27 | list01.lc 2:11-2:12 | 27 | 2:11-2:12 |
28 | _b | 28 | _b |
29 | list01.lc 2:13-2:14 | 29 | 2:13-2:14 |
30 | _b | 30 | _b |
31 | list01.lc 2:13-2:18 | 31 | 2:13-2:18 |
32 | [_d] | 32 | [_d] |
33 | list01.lc 2:15-2:16 | 33 | 2:15-2:16 |
34 | _b | 34 | _b |
35 | list01.lc 2:15-2:18 | 35 | 2:15-2:18 |
36 | [_e] | 36 | [_e] |
37 | list01.lc 2:17-2:18 | 37 | 2:17-2:18 |
38 | _b | [_e] | 38 | _b | [_e] |
39 | list01.lc 3:1-3:7 | 39 | 3:1-3:7 |
40 | [Char] | 40 | [Char] |
41 | list01.lc 3:10-3:31 | 41 | 3:10-3:31 |
42 | [Char] | 42 | [Char] |
43 | list01.lc 3:11-3:14 | 43 | 3:11-3:14 |
44 | Char | 44 | Char |
45 | list01.lc 3:15-3:18 | 45 | 3:15-3:18 |
46 | Char | 46 | Char |
47 | list01.lc 3:15-3:30 | 47 | 3:15-3:30 |
48 | [Char] | 48 | [Char] |
49 | list01.lc 3:19-3:22 | 49 | 3:19-3:22 |
50 | Char | 50 | Char |
51 | list01.lc 3:19-3:30 | 51 | 3:19-3:30 |
52 | [Char] | 52 | [Char] |
53 | list01.lc 3:23-3:26 | 53 | 3:23-3:26 |
54 | Char | 54 | Char |
55 | list01.lc 3:23-3:30 | 55 | 3:23-3:30 |
56 | [Char] | 56 | [Char] |
57 | list01.lc 3:27-3:30 | 57 | 3:27-3:30 |
58 | Char | [Char] \ No newline at end of file | 58 | Char | [Char] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list02.out b/testdata/language-features/basic-list/list02.out index cbec659d..9d0681f2 100644 --- a/testdata/language-features/basic-list/list02.out +++ b/testdata/language-features/basic-list/list02.out | |||
@@ -16,43 +16,43 @@ value2 | |||
16 | value3 :: [Char] | 16 | value3 :: [Char] |
17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] | 17 | value3 = _rhs ['h', 'e', 'l', 'l', 'o'] |
18 | ------------ tooltips | 18 | ------------ tooltips |
19 | list02.lc 1:1-1:7 | 19 | 1:1-1:7 |
20 | forall a . [a] | 20 | forall a . [a] |
21 | list02.lc 1:10-2:4 | 21 | 1:10-2:4 |
22 | forall a . [a] | 22 | forall a . [a] |
23 | list02.lc 4:1-4:7 | 23 | 4:1-4:7 |
24 | forall a . Num a => [a] | 24 | forall a . Num a => [a] |
25 | list02.lc 4:10-5:7 | 25 | 4:10-5:7 |
26 | [_c] | 26 | [_c] |
27 | list02.lc 4:11-4:12 | 27 | 4:11-4:12 |
28 | _b | 28 | _b |
29 | list02.lc 4:13-4:14 | 29 | 4:13-4:14 |
30 | _b | 30 | _b |
31 | list02.lc 4:13-5:6 | 31 | 4:13-5:6 |
32 | [_d] | 32 | [_d] |
33 | list02.lc 5:3-5:4 | 33 | 5:3-5:4 |
34 | _b | 34 | _b |
35 | list02.lc 5:3-5:6 | 35 | 5:3-5:6 |
36 | [_e] | 36 | [_e] |
37 | list02.lc 5:5-5:6 | 37 | 5:5-5:6 |
38 | _b | [_e] | 38 | _b | [_e] |
39 | list02.lc 7:1-7:7 | 39 | 7:1-7:7 |
40 | [Char] | 40 | [Char] |
41 | list02.lc 8:3-13:4 | 41 | 8:3-13:4 |
42 | [Char] | 42 | [Char] |
43 | list02.lc 8:5-8:8 | 43 | 8:5-8:8 |
44 | Char | 44 | Char |
45 | list02.lc 9:5-9:8 | 45 | 9:5-9:8 |
46 | Char | 46 | Char |
47 | list02.lc 9:5-12:8 | 47 | 9:5-12:8 |
48 | [Char] | 48 | [Char] |
49 | list02.lc 10:5-10:8 | 49 | 10:5-10:8 |
50 | Char | 50 | Char |
51 | list02.lc 10:5-12:8 | 51 | 10:5-12:8 |
52 | [Char] | 52 | [Char] |
53 | list02.lc 11:5-11:8 | 53 | 11:5-11:8 |
54 | Char | 54 | Char |
55 | list02.lc 11:5-12:8 | 55 | 11:5-12:8 |
56 | [Char] | 56 | [Char] |
57 | list02.lc 12:5-12:8 | 57 | 12:5-12:8 |
58 | Char | [Char] \ No newline at end of file | 58 | Char | [Char] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list03.reject.out b/testdata/language-features/basic-list/list03.reject.out index cd099e9c..4be98b40 100644 --- a/testdata/language-features/basic-list/list03.reject.out +++ b/testdata/language-features/basic-list/list03.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/basic-list/list03.reject.lc:2:1: | 1 | ./testdata/language-features/basic-list/list03.reject.lc:2:1: |
2 | expecting expression | 2 | expecting expression |
3 | wrong indentation | 3 | wrong indentation \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list04.reject.out b/testdata/language-features/basic-list/list04.reject.out index 00ca6166..b000c562 100644 --- a/testdata/language-features/basic-list/list04.reject.out +++ b/testdata/language-features/basic-list/list04.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/basic-list/list04.reject.lc:2:1: | 1 | ./testdata/language-features/basic-list/list04.reject.lc:2:1: |
2 | expecting expression | 2 | expecting expression |
3 | wrong indentation | 3 | wrong indentation \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list05.reject.out b/testdata/language-features/basic-list/list05.reject.out index 15b54a98..4801e2b7 100644 --- a/testdata/language-features/basic-list/list05.reject.out +++ b/testdata/language-features/basic-list/list05.reject.out | |||
@@ -1,4 +1,4 @@ | |||
1 | testdata/language-features/basic-list/list05.reject.lc:2:1: | 1 | ./testdata/language-features/basic-list/list05.reject.lc:2:1: |
2 | unexpected end of input | 2 | unexpected end of input |
3 | expecting expression | 3 | expecting expression |
4 | wrong indentation | 4 | wrong indentation \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list06.reject.out b/testdata/language-features/basic-list/list06.reject.out index 891e48f6..68775106 100644 --- a/testdata/language-features/basic-list/list06.reject.out +++ b/testdata/language-features/basic-list/list06.reject.out | |||
@@ -1,3 +1,3 @@ | |||
1 | testdata/language-features/basic-list/list06.reject.lc:1:10: | 1 | ./testdata/language-features/basic-list/list06.reject.lc:1:10: |
2 | unexpected ',' | 2 | unexpected ',' |
3 | expecting expression | 3 | expecting expression \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list07.reject.out b/testdata/language-features/basic-list/list07.reject.out index 576973a9..38039104 100644 --- a/testdata/language-features/basic-list/list07.reject.out +++ b/testdata/language-features/basic-list/list07.reject.out | |||
@@ -10,9 +10,9 @@ with | |||
10 | Char | 10 | Char |
11 | in [] | 11 | in [] |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | list07.reject.lc 1:10-1:11 | 13 | 1:10-1:11 |
14 | _b | 14 | _b |
15 | list07.reject.lc 1:12-1:15 | 15 | 1:12-1:15 |
16 | Float | 16 | Float |
17 | list07.reject.lc 1:16-1:19 | 17 | 1:16-1:19 |
18 | Char \ No newline at end of file | 18 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list08.out b/testdata/language-features/basic-list/list08.out index 68e3aaea..2f6f9a77 100644 --- a/testdata/language-features/basic-list/list08.out +++ b/testdata/language-features/basic-list/list08.out | |||
@@ -5,11 +5,11 @@ value = _lhs value (_rhs [fromInt 1, 1.2]) | |||
5 | value :: [Float] | 5 | value :: [Float] |
6 | value = _rhs [1.0, 1.2] | 6 | value = _rhs [1.0, 1.2] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | list08.lc 1:1-1:6 | 8 | 1:1-1:6 |
9 | [Float] | 9 | [Float] |
10 | list08.lc 1:9-1:16 | 10 | 1:9-1:16 |
11 | [Float] | 11 | [Float] |
12 | list08.lc 1:10-1:11 | 12 | 1:10-1:11 |
13 | _b | 13 | _b |
14 | list08.lc 1:12-1:15 | 14 | 1:12-1:15 |
15 | Float | [Float] \ No newline at end of file | 15 | Float | [Float] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list09.out b/testdata/language-features/basic-list/list09.out index 0d09aea9..99879a64 100644 --- a/testdata/language-features/basic-list/list09.out +++ b/testdata/language-features/basic-list/list09.out | |||
@@ -5,15 +5,15 @@ value = _lhs value (_rhs ([fromInt 1, 1.2] :: [Float])) | |||
5 | value :: [Float] | 5 | value :: [Float] |
6 | value = _rhs [1.0, 1.2] | 6 | value = _rhs [1.0, 1.2] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | list09.lc 1:1-1:6 | 8 | 1:1-1:6 |
9 | [Float] | 9 | [Float] |
10 | list09.lc 1:9-1:16 | 10 | 1:9-1:16 |
11 | [Float] | 11 | [Float] |
12 | list09.lc 1:10-1:11 | 12 | 1:10-1:11 |
13 | _b | 13 | _b |
14 | list09.lc 1:12-1:15 | 14 | 1:12-1:15 |
15 | Float | [Float] | 15 | Float | [Float] |
16 | list09.lc 1:20-1:27 | 16 | 1:20-1:27 |
17 | Type | 17 | Type |
18 | list09.lc 1:21-1:26 | 18 | 1:21-1:26 |
19 | Type \ No newline at end of file | 19 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list10.reject.out b/testdata/language-features/basic-list/list10.reject.out index 8cad72ab..1b9da45f 100644 --- a/testdata/language-features/basic-list/list10.reject.out +++ b/testdata/language-features/basic-list/list10.reject.out | |||
@@ -1,5 +1,5 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | 'Internals.lc:58:6: | 2 | <<installed-prelude-path>>/Internals.lc:58:6: |
3 | data Int | 3 | data Int |
4 | ^^^ | 4 | ^^^ |
5 | with | 5 | with |
@@ -7,18 +7,18 @@ with | |||
7 | in [] | 7 | in [] |
8 | ------------ trace | 8 | ------------ trace |
9 | !type error: can not unify | 9 | !type error: can not unify |
10 | 'Internals.lc:58:6: | 10 | <<installed-prelude-path>>/Internals.lc:58:6: |
11 | data Int | 11 | data Int |
12 | ^^^ | 12 | ^^^ |
13 | with | 13 | with |
14 | Float | 14 | Float |
15 | in [] | 15 | in [] |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | list10.reject.lc 1:10-1:11 | 17 | 1:10-1:11 |
18 | _b | 18 | _b |
19 | list10.reject.lc 1:12-1:15 | 19 | 1:12-1:15 |
20 | Float | 20 | Float |
21 | list10.reject.lc 1:20-1:25 | 21 | 1:20-1:25 |
22 | Type | 22 | Type |
23 | list10.reject.lc 1:21-1:24 | 23 | 1:21-1:24 |
24 | Type \ No newline at end of file | 24 | Type \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list11.out b/testdata/language-features/basic-list/list11.out index 912daca2..c114b1b2 100644 --- a/testdata/language-features/basic-list/list11.out +++ b/testdata/language-features/basic-list/list11.out | |||
@@ -5,15 +5,15 @@ value = _lhs value (_rhs [fromInt 1]) | |||
5 | value :: forall a . Num a => [a] | 5 | value :: forall a . Num a => [a] |
6 | value = \a b -> _rhs [fromInt a b 1] | 6 | value = \a b -> _rhs [fromInt a b 1] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | list11.lc 1:1-1:6 | 8 | 1:1-1:6 |
9 | forall a . Num a => [a] | 9 | forall a . Num a => [a] |
10 | list11.lc 1:9-1:10 | 10 | 1:9-1:10 |
11 | _b | 11 | _b |
12 | list11.lc 1:9-1:11 | 12 | 1:9-1:11 |
13 | [_b] -> [_b] | 13 | [_b] -> [_b] |
14 | list11.lc 1:9-1:13 | 14 | 1:9-1:13 |
15 | [_b] | 15 | [_b] |
16 | list11.lc 1:10-1:11 | 16 | 1:10-1:11 |
17 | forall a . a -> [a] -> [a] | 17 | forall a . a -> [a] -> [a] |
18 | list11.lc 1:11-1:13 | 18 | 1:11-1:13 |
19 | forall a . [a] \ No newline at end of file | 19 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list12.out b/testdata/language-features/basic-list/list12.out index ed67387e..0ddb0d7e 100644 --- a/testdata/language-features/basic-list/list12.out +++ b/testdata/language-features/basic-list/list12.out | |||
@@ -8,47 +8,47 @@ value | |||
8 | = \a b -> _rhs | 8 | = \a b -> _rhs |
9 | [fromInt a b 1, fromInt a b 2, fromInt a b 3, fromInt a b 4, fromInt a b 5] | 9 | [fromInt a b 1, fromInt a b 2, fromInt a b 3, fromInt a b 4, fromInt a b 5] |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | list12.lc 1:1-1:6 | 11 | 1:1-1:6 |
12 | forall a . Num a => [a] | 12 | forall a . Num a => [a] |
13 | list12.lc 1:9-1:10 | 13 | 1:9-1:10 |
14 | _b | 14 | _b |
15 | list12.lc 1:9-1:11 | 15 | 1:9-1:11 |
16 | [_b] -> [_b] | 16 | [_b] -> [_b] |
17 | list12.lc 1:9-1:21 | 17 | 1:9-1:21 |
18 | [_c] | 18 | [_c] |
19 | list12.lc 1:10-1:11 | 19 | 1:10-1:11 |
20 | forall a . a -> [a] -> [a] | 20 | forall a . a -> [a] -> [a] |
21 | list12.lc 1:11-1:12 | 21 | 1:11-1:12 |
22 | _b | 22 | _b |
23 | list12.lc 1:11-1:13 | 23 | 1:11-1:13 |
24 | [_b] -> [_b] | 24 | [_b] -> [_b] |
25 | list12.lc 1:11-1:21 | 25 | 1:11-1:21 |
26 | [_d] | 26 | [_d] |
27 | list12.lc 1:12-1:13 | 27 | 1:12-1:13 |
28 | forall a . a -> [a] -> [a] | 28 | forall a . a -> [a] -> [a] |
29 | list12.lc 1:13-1:14 | 29 | 1:13-1:14 |
30 | _b | 30 | _b |
31 | list12.lc 1:13-1:15 | 31 | 1:13-1:15 |
32 | [_b] -> [_b] | 32 | [_b] -> [_b] |
33 | list12.lc 1:13-1:21 | 33 | 1:13-1:21 |
34 | [_e] | 34 | [_e] |
35 | list12.lc 1:14-1:15 | 35 | 1:14-1:15 |
36 | forall a . a -> [a] -> [a] | 36 | forall a . a -> [a] -> [a] |
37 | list12.lc 1:15-1:16 | 37 | 1:15-1:16 |
38 | _b | 38 | _b |
39 | list12.lc 1:15-1:17 | 39 | 1:15-1:17 |
40 | [_b] -> [_b] | 40 | [_b] -> [_b] |
41 | list12.lc 1:15-1:21 | 41 | 1:15-1:21 |
42 | [_f] | 42 | [_f] |
43 | list12.lc 1:16-1:17 | 43 | 1:16-1:17 |
44 | forall a . a -> [a] -> [a] | 44 | forall a . a -> [a] -> [a] |
45 | list12.lc 1:17-1:18 | 45 | 1:17-1:18 |
46 | _b | 46 | _b |
47 | list12.lc 1:17-1:19 | 47 | 1:17-1:19 |
48 | [_b] -> [_b] | 48 | [_b] -> [_b] |
49 | list12.lc 1:17-1:21 | 49 | 1:17-1:21 |
50 | [_f] | 50 | [_f] |
51 | list12.lc 1:18-1:19 | 51 | 1:18-1:19 |
52 | forall a . a -> [a] -> [a] | 52 | forall a . a -> [a] -> [a] |
53 | list12.lc 1:19-1:21 | 53 | 1:19-1:21 |
54 | forall a . [a] \ No newline at end of file | 54 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list13.out b/testdata/language-features/basic-list/list13.out index 8002d692..752d6e1e 100644 --- a/testdata/language-features/basic-list/list13.out +++ b/testdata/language-features/basic-list/list13.out | |||
@@ -5,47 +5,47 @@ value = _lhs value (_rhs ['h', 'e', 'l', 'l', 'o']) | |||
5 | value :: [Char] | 5 | value :: [Char] |
6 | value = _rhs ['h', 'e', 'l', 'l', 'o'] | 6 | value = _rhs ['h', 'e', 'l', 'l', 'o'] |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | list13.lc 1:1-1:6 | 8 | 1:1-1:6 |
9 | [Char] | 9 | [Char] |
10 | list13.lc 1:9-1:12 | 10 | 1:9-1:12 |
11 | Char | 11 | Char |
12 | list13.lc 1:9-1:13 | 12 | 1:9-1:13 |
13 | [Char] -> [Char] | 13 | [Char] -> [Char] |
14 | list13.lc 1:9-1:31 | 14 | 1:9-1:31 |
15 | [Char] | 15 | [Char] |
16 | list13.lc 1:12-1:13 | 16 | 1:12-1:13 |
17 | forall a . a -> [a] -> [a] | 17 | forall a . a -> [a] -> [a] |
18 | list13.lc 1:13-1:16 | 18 | 1:13-1:16 |
19 | Char | 19 | Char |
20 | list13.lc 1:13-1:17 | 20 | 1:13-1:17 |
21 | [Char] -> [Char] | 21 | [Char] -> [Char] |
22 | list13.lc 1:13-1:31 | 22 | 1:13-1:31 |
23 | [Char] | 23 | [Char] |
24 | list13.lc 1:16-1:17 | 24 | 1:16-1:17 |
25 | forall a . a -> [a] -> [a] | 25 | forall a . a -> [a] -> [a] |
26 | list13.lc 1:17-1:20 | 26 | 1:17-1:20 |
27 | Char | 27 | Char |
28 | list13.lc 1:17-1:21 | 28 | 1:17-1:21 |
29 | [Char] -> [Char] | 29 | [Char] -> [Char] |
30 | list13.lc 1:17-1:31 | 30 | 1:17-1:31 |
31 | [Char] | 31 | [Char] |
32 | list13.lc 1:20-1:21 | 32 | 1:20-1:21 |
33 | forall a . a -> [a] -> [a] | 33 | forall a . a -> [a] -> [a] |
34 | list13.lc 1:21-1:24 | 34 | 1:21-1:24 |
35 | Char | 35 | Char |
36 | list13.lc 1:21-1:25 | 36 | 1:21-1:25 |
37 | [Char] -> [Char] | 37 | [Char] -> [Char] |
38 | list13.lc 1:21-1:31 | 38 | 1:21-1:31 |
39 | [Char] | 39 | [Char] |
40 | list13.lc 1:24-1:25 | 40 | 1:24-1:25 |
41 | forall a . a -> [a] -> [a] | 41 | forall a . a -> [a] -> [a] |
42 | list13.lc 1:25-1:28 | 42 | 1:25-1:28 |
43 | Char | 43 | Char |
44 | list13.lc 1:25-1:29 | 44 | 1:25-1:29 |
45 | [Char] -> [Char] | 45 | [Char] -> [Char] |
46 | list13.lc 1:25-1:31 | 46 | 1:25-1:31 |
47 | [Char] | 47 | [Char] |
48 | list13.lc 1:28-1:29 | 48 | 1:28-1:29 |
49 | forall a . a -> [a] -> [a] | 49 | forall a . a -> [a] -> [a] |
50 | list13.lc 1:29-1:31 | 50 | 1:29-1:31 |
51 | forall a . [a] \ No newline at end of file | 51 | forall a . [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list14.reject.out b/testdata/language-features/basic-list/list14.reject.out index ba2e1a66..597a0a78 100644 --- a/testdata/language-features/basic-list/list14.reject.out +++ b/testdata/language-features/basic-list/list14.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | [Char] | 2 | [Char] |
3 | with | 3 | with |
4 | () | 4 | () |
5 | in list14.reject.lc:1:17: | 5 | in ./testdata/language-features/basic-list/list14.reject.lc:1:17: |
6 | value = 'h':'i':() | 6 | value = 'h':'i':() |
7 | ^^ | 7 | ^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,21 +10,21 @@ value = 'h':'i':() | |||
10 | [Char] | 10 | [Char] |
11 | with | 11 | with |
12 | () | 12 | () |
13 | in list14.reject.lc:1:17: | 13 | in ./testdata/language-features/basic-list/list14.reject.lc:1:17: |
14 | value = 'h':'i':() | 14 | value = 'h':'i':() |
15 | ^^ | 15 | ^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | list14.reject.lc 1:9-1:12 | 17 | 1:9-1:12 |
18 | Char | 18 | Char |
19 | list14.reject.lc 1:9-1:13 | 19 | 1:9-1:13 |
20 | [Char] -> [Char] | 20 | [Char] -> [Char] |
21 | list14.reject.lc 1:12-1:13 | 21 | 1:12-1:13 |
22 | forall a . a -> [a] -> [a] | 22 | forall a . a -> [a] -> [a] |
23 | list14.reject.lc 1:13-1:16 | 23 | 1:13-1:16 |
24 | Char | 24 | Char |
25 | list14.reject.lc 1:13-1:17 | 25 | 1:13-1:17 |
26 | [Char] -> [Char] | 26 | [Char] -> [Char] |
27 | list14.reject.lc 1:16-1:17 | 27 | 1:16-1:17 |
28 | forall a . a -> [a] -> [a] | 28 | forall a . a -> [a] -> [a] |
29 | list14.reject.lc 1:17-1:19 | 29 | 1:17-1:19 |
30 | () \ No newline at end of file | 30 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list15.reject.out b/testdata/language-features/basic-list/list15.reject.out index 0e7d8fb0..970aa82f 100644 --- a/testdata/language-features/basic-list/list15.reject.out +++ b/testdata/language-features/basic-list/list15.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | Char | 2 | Char |
3 | with | 3 | with |
4 | () | 4 | () |
5 | in list15.reject.lc:1:20: | 5 | in ./testdata/language-features/basic-list/list15.reject.lc:1:20: |
6 | value = 'h':'i':():[] | 6 | value = 'h':'i':():[] |
7 | ^^ | 7 | ^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,25 +10,25 @@ value = 'h':'i':():[] | |||
10 | Char | 10 | Char |
11 | with | 11 | with |
12 | () | 12 | () |
13 | in list15.reject.lc:1:20: | 13 | in ./testdata/language-features/basic-list/list15.reject.lc:1:20: |
14 | value = 'h':'i':():[] | 14 | value = 'h':'i':():[] |
15 | ^^ | 15 | ^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | list15.reject.lc 1:9-1:12 | 17 | 1:9-1:12 |
18 | Char | 18 | Char |
19 | list15.reject.lc 1:9-1:13 | 19 | 1:9-1:13 |
20 | [Char] -> [Char] | 20 | [Char] -> [Char] |
21 | list15.reject.lc 1:12-1:13 | 21 | 1:12-1:13 |
22 | forall a . a -> [a] -> [a] | 22 | forall a . a -> [a] -> [a] |
23 | list15.reject.lc 1:13-1:16 | 23 | 1:13-1:16 |
24 | Char | 24 | Char |
25 | list15.reject.lc 1:13-1:17 | 25 | 1:13-1:17 |
26 | [Char] -> [Char] | 26 | [Char] -> [Char] |
27 | list15.reject.lc 1:16-1:17 | 27 | 1:16-1:17 |
28 | forall a . a -> [a] -> [a] | 28 | forall a . a -> [a] -> [a] |
29 | list15.reject.lc 1:17-1:19 | 29 | 1:17-1:19 |
30 | () | 30 | () |
31 | list15.reject.lc 1:17-1:20 | 31 | 1:17-1:20 |
32 | [()] -> [()] | 32 | [()] -> [()] |
33 | list15.reject.lc 1:19-1:20 | 33 | 1:19-1:20 |
34 | forall a . a -> [a] -> [a] \ No newline at end of file | 34 | forall a . a -> [a] -> [a] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/list16.reject.out b/testdata/language-features/basic-list/list16.reject.out index fd2bb949..4b1a3ca1 100644 --- a/testdata/language-features/basic-list/list16.reject.out +++ b/testdata/language-features/basic-list/list16.reject.out | |||
@@ -2,7 +2,7 @@ type error: can not unify | |||
2 | [Char] | 2 | [Char] |
3 | with | 3 | with |
4 | Char | 4 | Char |
5 | in list16.reject.lc:1:13: | 5 | in ./testdata/language-features/basic-list/list16.reject.lc:1:13: |
6 | value = 'h':'i' | 6 | value = 'h':'i' |
7 | ^^^ | 7 | ^^^ |
8 | ------------ trace | 8 | ------------ trace |
@@ -10,15 +10,15 @@ value = 'h':'i' | |||
10 | [Char] | 10 | [Char] |
11 | with | 11 | with |
12 | Char | 12 | Char |
13 | in list16.reject.lc:1:13: | 13 | in ./testdata/language-features/basic-list/list16.reject.lc:1:13: |
14 | value = 'h':'i' | 14 | value = 'h':'i' |
15 | ^^^ | 15 | ^^^ |
16 | ------------ tooltips | 16 | ------------ tooltips |
17 | list16.reject.lc 1:9-1:12 | 17 | 1:9-1:12 |
18 | Char | 18 | Char |
19 | list16.reject.lc 1:9-1:13 | 19 | 1:9-1:13 |
20 | [Char] -> [Char] | 20 | [Char] -> [Char] |
21 | list16.reject.lc 1:12-1:13 | 21 | 1:12-1:13 |
22 | forall a . a -> [a] -> [a] | 22 | forall a . a -> [a] -> [a] |
23 | list16.reject.lc 1:13-1:16 | 23 | 1:13-1:16 |
24 | Char \ No newline at end of file | 24 | Char \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp01.out b/testdata/language-features/basic-list/listcomp01.out index dc0c5204..43eff8b6 100644 --- a/testdata/language-features/basic-list/listcomp01.out +++ b/testdata/language-features/basic-list/listcomp01.out | |||
@@ -5,23 +5,23 @@ value = _lhs value (_rhs (concatMap (\(_ :: _) -> [()]) [(), (), (), ()])) | |||
5 | value :: [()] | 5 | value :: [()] |
6 | value = _rhs (() : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()])) | 6 | value = _rhs (() : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()])) |
7 | ------------ tooltips | 7 | ------------ tooltips |
8 | listcomp01.lc 1:1-1:6 | 8 | 1:1-1:6 |
9 | [()] | 9 | [()] |
10 | listcomp01.lc 1:9-1:34 | 10 | 1:9-1:34 |
11 | [()] | 11 | [()] |
12 | listcomp01.lc 1:10-1:12 | 12 | 1:10-1:12 |
13 | () | [()] | 13 | () | [()] |
14 | listcomp01.lc 1:20-1:33 | 14 | 1:20-1:33 |
15 | [()] | 15 | [()] |
16 | listcomp01.lc 1:21-1:23 | 16 | 1:21-1:23 |
17 | () | 17 | () |
18 | listcomp01.lc 1:24-1:26 | 18 | 1:24-1:26 |
19 | () | 19 | () |
20 | listcomp01.lc 1:24-1:32 | 20 | 1:24-1:32 |
21 | [()] | 21 | [()] |
22 | listcomp01.lc 1:27-1:29 | 22 | 1:27-1:29 |
23 | () | 23 | () |
24 | listcomp01.lc 1:27-1:32 | 24 | 1:27-1:32 |
25 | [()] | 25 | [()] |
26 | listcomp01.lc 1:30-1:32 | 26 | 1:30-1:32 |
27 | () | [()] \ No newline at end of file | 27 | () | [()] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp02.out b/testdata/language-features/basic-list/listcomp02.out index 497f88c0..05a95889 100644 --- a/testdata/language-features/basic-list/listcomp02.out +++ b/testdata/language-features/basic-list/listcomp02.out | |||
@@ -10,27 +10,27 @@ l = _rhs [(), (), (), ()] | |||
10 | value :: [()] | 10 | value :: [()] |
11 | value = _rhs (() : [] ++ foldr (++) [] (map (\a -> [a]) [(), (), ()])) | 11 | value = _rhs (() : [] ++ foldr (++) [] (map (\a -> [a]) [(), (), ()])) |
12 | ------------ tooltips | 12 | ------------ tooltips |
13 | listcomp02.lc 1:1-1:2 | 13 | 1:1-1:2 |
14 | [()] | 14 | [()] |
15 | listcomp02.lc 1:5-1:18 | 15 | 1:5-1:18 |
16 | [()] | 16 | [()] |
17 | listcomp02.lc 1:6-1:8 | 17 | 1:6-1:8 |
18 | () | 18 | () |
19 | listcomp02.lc 1:9-1:11 | 19 | 1:9-1:11 |
20 | () | 20 | () |
21 | listcomp02.lc 1:9-1:17 | 21 | 1:9-1:17 |
22 | [()] | 22 | [()] |
23 | listcomp02.lc 1:12-1:14 | 23 | 1:12-1:14 |
24 | () | 24 | () |
25 | listcomp02.lc 1:12-1:17 | 25 | 1:12-1:17 |
26 | [()] | 26 | [()] |
27 | listcomp02.lc 1:15-1:17 | 27 | 1:15-1:17 |
28 | () | [()] | 28 | () | [()] |
29 | listcomp02.lc 2:1-2:6 | 29 | 2:1-2:6 |
30 | [()] | 30 | [()] |
31 | listcomp02.lc 2:9-2:21 | 31 | 2:9-2:21 |
32 | [()] | 32 | [()] |
33 | listcomp02.lc 2:10-2:11 | 33 | 2:10-2:11 |
34 | _d | [_b] | 34 | _d | [_b] |
35 | listcomp02.lc 2:19-2:20 | 35 | 2:19-2:20 |
36 | [()] \ No newline at end of file | 36 | [()] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp03.out b/testdata/language-features/basic-list/listcomp03.out index 85208fa3..3302b1be 100644 --- a/testdata/language-features/basic-list/listcomp03.out +++ b/testdata/language-features/basic-list/listcomp03.out | |||
@@ -8,27 +8,27 @@ value | |||
8 | value :: [()] | 8 | value :: [()] |
9 | value = _rhs [] | 9 | value = _rhs [] |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | listcomp03.lc 1:1-1:6 | 11 | 1:1-1:6 |
12 | [()] | 12 | [()] |
13 | listcomp03.lc 1:9-1:41 | 13 | 1:9-1:41 |
14 | [()] | 14 | [()] |
15 | listcomp03.lc 1:10-1:12 | 15 | 1:10-1:12 |
16 | () | [()] | 16 | () | [()] |
17 | listcomp03.lc 1:10-1:40 | 17 | 1:10-1:40 |
18 | [()] -> [()] | [()] | 18 | [()] -> [()] | [()] |
19 | listcomp03.lc 1:20-1:33 | 19 | 1:20-1:33 |
20 | [()] | 20 | [()] |
21 | listcomp03.lc 1:21-1:23 | 21 | 1:21-1:23 |
22 | () | 22 | () |
23 | listcomp03.lc 1:24-1:26 | 23 | 1:24-1:26 |
24 | () | 24 | () |
25 | listcomp03.lc 1:24-1:32 | 25 | 1:24-1:32 |
26 | [()] | 26 | [()] |
27 | listcomp03.lc 1:27-1:29 | 27 | 1:27-1:29 |
28 | () | 28 | () |
29 | listcomp03.lc 1:27-1:32 | 29 | 1:27-1:32 |
30 | [()] | 30 | [()] |
31 | listcomp03.lc 1:30-1:32 | 31 | 1:30-1:32 |
32 | () | [()] | 32 | () | [()] |
33 | listcomp03.lc 1:35-1:40 | 33 | 1:35-1:40 |
34 | Bool \ No newline at end of file | 34 | Bool \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp04.out b/testdata/language-features/basic-list/listcomp04.out index 032fdd81..8a7837d7 100644 --- a/testdata/language-features/basic-list/listcomp04.out +++ b/testdata/language-features/basic-list/listcomp04.out | |||
@@ -15,31 +15,31 @@ value | |||
15 | : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()]) | 15 | : [] ++ foldr (++) [] (map (\_ -> [()]) [(), (), ()]) |
16 | ++ foldr (++) [] (map (\_ -> concatMap ' () ' () (\_ -> [()]) l) [(), (), ()])) | 16 | ++ foldr (++) [] (map (\_ -> concatMap ' () ' () (\_ -> [()]) l) [(), (), ()])) |
17 | ------------ tooltips | 17 | ------------ tooltips |
18 | listcomp04.lc 1:1-1:2 | 18 | 1:1-1:2 |
19 | [()] | 19 | [()] |
20 | listcomp04.lc 1:5-1:18 | 20 | 1:5-1:18 |
21 | [()] | 21 | [()] |
22 | listcomp04.lc 1:6-1:8 | 22 | 1:6-1:8 |
23 | () | 23 | () |
24 | listcomp04.lc 1:9-1:11 | 24 | 1:9-1:11 |
25 | () | 25 | () |
26 | listcomp04.lc 1:9-1:17 | 26 | 1:9-1:17 |
27 | [()] | 27 | [()] |
28 | listcomp04.lc 1:12-1:14 | 28 | 1:12-1:14 |
29 | () | 29 | () |
30 | listcomp04.lc 1:12-1:17 | 30 | 1:12-1:17 |
31 | [()] | 31 | [()] |
32 | listcomp04.lc 1:15-1:17 | 32 | 1:15-1:17 |
33 | () | [()] | 33 | () | [()] |
34 | listcomp04.lc 2:1-2:6 | 34 | 2:1-2:6 |
35 | [()] | 35 | [()] |
36 | listcomp04.lc 2:9-2:30 | 36 | 2:9-2:30 |
37 | [()] | 37 | [()] |
38 | listcomp04.lc 2:10-2:12 | 38 | 2:10-2:12 |
39 | () | [()] | 39 | () | [()] |
40 | listcomp04.lc 2:10-2:29 | 40 | 2:10-2:29 |
41 | [()] | 41 | [()] |
42 | listcomp04.lc 2:20-2:21 | 42 | 2:20-2:21 |
43 | [()] | 43 | [()] |
44 | listcomp04.lc 2:28-2:29 | 44 | 2:28-2:29 |
45 | [()] \ No newline at end of file | 45 | [()] \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp05.out b/testdata/language-features/basic-list/listcomp05.out index 91c6cd09..ef5de256 100644 --- a/testdata/language-features/basic-list/listcomp05.out +++ b/testdata/language-features/basic-list/listcomp05.out | |||
@@ -13,19 +13,19 @@ value | |||
13 | value :: [()] | 13 | value :: [()] |
14 | value = _rhs (u : [] ++ foldr (++) [] (map (\_ -> [u]) [()])) | 14 | value = _rhs (u : [] ++ foldr (++) [] (map (\_ -> [u]) [()])) |
15 | ------------ tooltips | 15 | ------------ tooltips |
16 | listcomp05.lc 1:1-1:6 | 16 | 1:1-1:6 |
17 | [()] | 17 | [()] |
18 | listcomp05.lc 1:9-1:39 | 18 | 1:9-1:39 |
19 | [()] | 19 | [()] |
20 | listcomp05.lc 1:10-1:11 | 20 | 1:10-1:11 |
21 | () | 21 | () |
22 | listcomp05.lc 1:19-1:26 | 22 | 1:19-1:26 |
23 | [()] | 23 | [()] |
24 | listcomp05.lc 1:20-1:22 | 24 | 1:20-1:22 |
25 | () | 25 | () |
26 | listcomp05.lc 1:23-1:25 | 26 | 1:23-1:25 |
27 | () | [()] | 27 | () | [()] |
28 | listcomp05.lc 1:32-1:33 | 28 | 1:32-1:33 |
29 | _b | () | 29 | _b | () |
30 | listcomp05.lc 1:36-1:38 | 30 | 1:36-1:38 |
31 | () \ No newline at end of file | 31 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp06.out b/testdata/language-features/basic-list/listcomp06.out index 1b7db614..0a43f980 100644 --- a/testdata/language-features/basic-list/listcomp06.out +++ b/testdata/language-features/basic-list/listcomp06.out | |||
@@ -31,43 +31,43 @@ value2 | |||
31 | = _rhs | 31 | = _rhs |
32 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) | 32 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) |
33 | ------------ tooltips | 33 | ------------ tooltips |
34 | listcomp06.lc 1:1-1:7 | 34 | 1:1-1:7 |
35 | [()] | 35 | [()] |
36 | listcomp06.lc 1:10-1:46 | 36 | 1:10-1:46 |
37 | [()] | 37 | [()] |
38 | listcomp06.lc 1:11-1:12 | 38 | 1:11-1:12 |
39 | () | [()] | 39 | () | [()] |
40 | listcomp06.lc 1:11-1:45 | 40 | 1:11-1:45 |
41 | [()] -> [()] | 41 | [()] -> [()] |
42 | listcomp06.lc 1:20-1:27 | 42 | 1:20-1:27 |
43 | [()] | 43 | [()] |
44 | listcomp06.lc 1:21-1:23 | 44 | 1:21-1:23 |
45 | () | 45 | () |
46 | listcomp06.lc 1:24-1:26 | 46 | 1:24-1:26 |
47 | () | [()] | 47 | () | [()] |
48 | listcomp06.lc 1:33-1:34 | 48 | 1:33-1:34 |
49 | _b | () | 49 | _b | () |
50 | listcomp06.lc 1:37-1:39 | 50 | 1:37-1:39 |
51 | () | 51 | () |
52 | listcomp06.lc 1:41-1:45 | 52 | 1:41-1:45 |
53 | Bool | 53 | Bool |
54 | listcomp06.lc 3:1-3:7 | 54 | 3:1-3:7 |
55 | [()] | 55 | [()] |
56 | listcomp06.lc 3:10-3:46 | 56 | 3:10-3:46 |
57 | [()] | 57 | [()] |
58 | listcomp06.lc 3:11-3:12 | 58 | 3:11-3:12 |
59 | () | 59 | () |
60 | listcomp06.lc 3:11-3:45 | 60 | 3:11-3:45 |
61 | [()] | 61 | [()] |
62 | listcomp06.lc 3:20-3:27 | 62 | 3:20-3:27 |
63 | [()] | 63 | [()] |
64 | listcomp06.lc 3:21-3:23 | 64 | 3:21-3:23 |
65 | () | 65 | () |
66 | listcomp06.lc 3:24-3:26 | 66 | 3:24-3:26 |
67 | () | [()] | 67 | () | [()] |
68 | listcomp06.lc 3:29-3:33 | 68 | 3:29-3:33 |
69 | Bool | 69 | Bool |
70 | listcomp06.lc 3:39-3:40 | 70 | 3:39-3:40 |
71 | _b | () | 71 | _b | () |
72 | listcomp06.lc 3:43-3:45 | 72 | 3:43-3:45 |
73 | () \ No newline at end of file | 73 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp07.out b/testdata/language-features/basic-list/listcomp07.out index 70ba3962..29b91178 100644 --- a/testdata/language-features/basic-list/listcomp07.out +++ b/testdata/language-features/basic-list/listcomp07.out | |||
@@ -54,69 +54,69 @@ value3 | |||
54 | = _rhs | 54 | = _rhs |
55 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) | 55 | (u : [] ++ foldr (++) [] (map (\_ -> primIfThenElse [' ()] True [u] []) [()])) |
56 | ------------ tooltips | 56 | ------------ tooltips |
57 | listcomp07.lc 1:1-1:7 | 57 | 1:1-1:7 |
58 | [()] | 58 | [()] |
59 | listcomp07.lc 1:10-6:11 | 59 | 1:10-6:11 |
60 | [()] | 60 | [()] |
61 | listcomp07.lc 1:12-1:13 | 61 | 1:12-1:13 |
62 | () | 62 | () |
63 | listcomp07.lc 2:17-2:24 | 63 | 2:17-2:24 |
64 | [()] | 64 | [()] |
65 | listcomp07.lc 2:18-2:20 | 65 | 2:18-2:20 |
66 | () | 66 | () |
67 | listcomp07.lc 2:21-2:23 | 67 | 2:21-2:23 |
68 | () | [()] | 68 | () | [()] |
69 | listcomp07.lc 3:16-3:17 | 69 | 3:16-3:17 |
70 | _b | () | 70 | _b | () |
71 | listcomp07.lc 3:20-3:22 | 71 | 3:20-3:22 |
72 | () | 72 | () |
73 | listcomp07.lc 4:12-4:16 | 73 | 4:12-4:16 |
74 | Bool | 74 | Bool |
75 | listcomp07.lc 5:16-5:17 | 75 | 5:16-5:17 |
76 | _b | () | 76 | _b | () |
77 | listcomp07.lc 5:20-5:21 | 77 | 5:20-5:21 |
78 | () | 78 | () |
79 | listcomp07.lc 8:1-8:7 | 79 | 8:1-8:7 |
80 | [()] | 80 | [()] |
81 | listcomp07.lc 8:10-12:11 | 81 | 8:10-12:11 |
82 | [()] | 82 | [()] |
83 | listcomp07.lc 8:12-8:13 | 83 | 8:12-8:13 |
84 | () | 84 | () |
85 | listcomp07.lc 8:21-8:28 | 85 | 8:21-8:28 |
86 | [()] | 86 | [()] |
87 | listcomp07.lc 8:22-8:24 | 87 | 8:22-8:24 |
88 | () | 88 | () |
89 | listcomp07.lc 8:25-8:27 | 89 | 8:25-8:27 |
90 | () | [()] | 90 | () | [()] |
91 | listcomp07.lc 9:16-9:17 | 91 | 9:16-9:17 |
92 | _b | () | 92 | _b | () |
93 | listcomp07.lc 9:20-9:22 | 93 | 9:20-9:22 |
94 | () | 94 | () |
95 | listcomp07.lc 10:12-10:16 | 95 | 10:12-10:16 |
96 | Bool | 96 | Bool |
97 | listcomp07.lc 11:16-11:17 | 97 | 11:16-11:17 |
98 | _b | () | 98 | _b | () |
99 | listcomp07.lc 11:20-11:21 | 99 | 11:20-11:21 |
100 | () | 100 | () |
101 | listcomp07.lc 14:1-14:7 | 101 | 14:1-14:7 |
102 | [()] | 102 | [()] |
103 | listcomp07.lc 14:10-20:3 | 103 | 14:10-20:3 |
104 | [()] | 104 | [()] |
105 | listcomp07.lc 14:12-14:13 | 105 | 14:12-14:13 |
106 | () | 106 | () |
107 | listcomp07.lc 15:15-15:22 | 107 | 15:15-15:22 |
108 | [()] | 108 | [()] |
109 | listcomp07.lc 15:16-15:18 | 109 | 15:16-15:18 |
110 | () | 110 | () |
111 | listcomp07.lc 15:19-15:21 | 111 | 15:19-15:21 |
112 | () | [()] | 112 | () | [()] |
113 | listcomp07.lc 17:2-17:3 | 113 | 17:2-17:3 |
114 | _b | () | 114 | _b | () |
115 | listcomp07.lc 17:6-17:8 | 115 | 17:6-17:8 |
116 | () | 116 | () |
117 | listcomp07.lc 18:7-18:11 | 117 | 18:7-18:11 |
118 | Bool | 118 | Bool |
119 | listcomp07.lc 19:10-19:11 | 119 | 19:10-19:11 |
120 | _b | () | 120 | _b | () |
121 | listcomp07.lc 19:14-19:15 | 121 | 19:14-19:15 |
122 | () \ No newline at end of file | 122 | () \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp08.reject.out b/testdata/language-features/basic-list/listcomp08.reject.out index 8aa2bb7c..64f9f0be 100644 --- a/testdata/language-features/basic-list/listcomp08.reject.out +++ b/testdata/language-features/basic-list/listcomp08.reject.out | |||
@@ -1,22 +1,22 @@ | |||
1 | type error: can not unify | 1 | type error: can not unify |
2 | 'Internals.lc:63:6: | 2 | <<installed-prelude-path>>/Internals.lc:63:6: |
3 | data Bool = False | True | 3 | data Bool = False | True |
4 | ^^^^ | 4 | ^^^^ |
5 | with | 5 | with |
6 | String | 6 | String |
7 | in listcomp08.reject.lc:1:23: | 7 | in ./testdata/language-features/basic-list/listcomp08.reject.lc:1:23: |
8 | value = [x | x <- [], "not Bool"] | 8 | value = [x | x <- [], "not Bool"] |
9 | ^^^^^^^^^^ | 9 | ^^^^^^^^^^ |
10 | ------------ trace | 10 | ------------ trace |
11 | !type error: can not unify | 11 | !type error: can not unify |
12 | 'Internals.lc:63:6: | 12 | <<installed-prelude-path>>/Internals.lc:63:6: |
13 | data Bool = False | True | 13 | data Bool = False | True |
14 | ^^^^ | 14 | ^^^^ |
15 | with | 15 | with |
16 | String | 16 | String |
17 | in listcomp08.reject.lc:1:23: | 17 | in ./testdata/language-features/basic-list/listcomp08.reject.lc:1:23: |
18 | value = [x | x <- [], "not Bool"] | 18 | value = [x | x <- [], "not Bool"] |
19 | ^^^^^^^^^^ | 19 | ^^^^^^^^^^ |
20 | ------------ tooltips | 20 | ------------ tooltips |
21 | listcomp08.reject.lc 1:23-1:33 | 21 | 1:23-1:33 |
22 | String \ No newline at end of file | 22 | String \ No newline at end of file |
diff --git a/testdata/language-features/basic-list/listcomp09.out b/testdata/language-features/basic-list/listcomp09.out index 1c81c25f..19512a94 100644 --- a/testdata/language-features/basic-list/listcomp09.out +++ b/testdata/language-features/basic-list/listcomp09.out | |||
@@ -8,13 +8,13 @@ value1 | |||
8 | value1 :: @Type -> [() -> String] | 8 | value1 :: @Type -> [() -> String] |
9 | value1 = \_ -> _rhs [] | 9 | value1 = \_ -> _rhs [] |
10 | ------------ tooltips | 10 | ------------ tooltips |
11 | listcomp09.lc 1:1-1:7 | 11 | 1:1-1:7 |
12 | @Type -> [() -> String] | 12 | @Type -> [() -> String] |
13 | listcomp09.lc 1:10-1:36 | 13 | 1:10-1:36 |
14 | [() -> String] | 14 | [() -> String] |
15 | listcomp09.lc 1:11-1:25 | 15 | 1:11-1:25 |
16 | [() -> String] | 16 | [() -> String] |
17 | listcomp09.lc 1:18-1:25 | 17 | 1:18-1:25 |
18 | String | 18 | String |
19 | listcomp09.lc 1:33-1:35 | 19 | 1:33-1:35 |
20 | forall a . [a] \ No newline at end of file | 20 | forall a . [a] \ No newline at end of file |