diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-10 23:19:47 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-10 23:20:23 +0200 |
commit | 95e006bf5afa8d3473e3fe4401f4c9316186a428 (patch) | |
tree | 7635fda3305339173988296051acc5a77dbb746f /testdata/typesyn.out | |
parent | 6ecef8f577432ffcaee07f09b2a73d4ea5eb5de2 (diff) |
include info in more .out files; fix parsing of as-patterns
Diffstat (limited to 'testdata/typesyn.out')
-rw-r--r-- | testdata/typesyn.out | 69 |
1 files changed, 68 insertions, 1 deletions
diff --git a/testdata/typesyn.out b/testdata/typesyn.out index 4791ed55..6dc5080a 100644 --- a/testdata/typesyn.out +++ b/testdata/typesyn.out | |||
@@ -1 +1,68 @@ | |||
1 | True \ No newline at end of file | 1 | main :: Bool |
2 | main = True | ||
3 | ------------ desugared source code | ||
4 | 'B = _lhs 'B (_rhs 'Bool) | ||
5 | |||
6 | 'F = _lhs 'F \(a :: _) (b :: _) -> _rhs ' (a, b) | ||
7 | |||
8 | main = _lhs main (_rhs ((True :: B) && fst ((True, 'c') :: F Bool Char))) | ||
9 | ------------ core code | ||
10 | 'B :: Type | ||
11 | 'B = _rhs 'Bool | ||
12 | |||
13 | 'F :: Type -> Type -> Type | ||
14 | 'F = \a b -> _rhs ' (a, b) | ||
15 | |||
16 | main :: Bool | ||
17 | main = _rhs True | ||
18 | ------------ tooltips | ||
19 | testdata/typesyn.lc 3:6-3:7 | ||
20 | Type | ||
21 | testdata/typesyn.lc 3:10-3:14 | ||
22 | Type | ||
23 | testdata/typesyn.lc 5:6-5:7 | ||
24 | Type -> Type -> Type | ||
25 | testdata/typesyn.lc 5:14-5:20 | ||
26 | Type | ||
27 | testdata/typesyn.lc 5:15-5:16 | ||
28 | _e | ||
29 | testdata/typesyn.lc 5:15-5:19 | ||
30 | [Type] | ||
31 | testdata/typesyn.lc 5:18-5:19 | ||
32 | _c | [Type] | ||
33 | testdata/typesyn.lc 7:1-7:5 | ||
34 | Bool | ||
35 | testdata/typesyn.lc 7:8-7:22 | ||
36 | Bool -> Bool | ||
37 | testdata/typesyn.lc 7:8-7:55 | ||
38 | Bool | ||
39 | testdata/typesyn.lc 7:9-7:13 | ||
40 | Bool | ||
41 | testdata/typesyn.lc 7:9-7:18 | ||
42 | B | ||
43 | testdata/typesyn.lc 7:17-7:18 | ||
44 | Type | ||
45 | testdata/typesyn.lc 7:20-7:22 | ||
46 | Bool -> Bool -> Bool | ||
47 | testdata/typesyn.lc 7:23-7:26 | ||
48 | forall a b . (a, b) -> a | ||
49 | testdata/typesyn.lc 7:23-7:55 | ||
50 | Bool | ||
51 | testdata/typesyn.lc 7:28-7:39 | ||
52 | (Bool, Char) | ||
53 | testdata/typesyn.lc 7:28-7:54 | ||
54 | F Bool Char | ||
55 | testdata/typesyn.lc 7:29-7:33 | ||
56 | Bool | ||
57 | testdata/typesyn.lc 7:35-7:38 | ||
58 | Char | ((Char)) | ||
59 | testdata/typesyn.lc 7:43-7:44 | ||
60 | Type -> Type -> Type | ||
61 | testdata/typesyn.lc 7:43-7:49 | ||
62 | Type -> Type | ||
63 | testdata/typesyn.lc 7:43-7:54 | ||
64 | Type | ||
65 | testdata/typesyn.lc 7:45-7:49 | ||
66 | Type | ||
67 | testdata/typesyn.lc 7:50-7:54 | ||
68 | Type \ No newline at end of file | ||