summaryrefslogtreecommitdiff
path: root/testdata/typesyn.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-10 23:19:47 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-10 23:20:23 +0200
commit95e006bf5afa8d3473e3fe4401f4c9316186a428 (patch)
tree7635fda3305339173988296051acc5a77dbb746f /testdata/typesyn.out
parent6ecef8f577432ffcaee07f09b2a73d4ea5eb5de2 (diff)
include info in more .out files; fix parsing of as-patterns
Diffstat (limited to 'testdata/typesyn.out')
-rw-r--r--testdata/typesyn.out69
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 @@
1True \ No newline at end of file 1main :: Bool
2main = True
3------------ desugared source code
4'B = _lhs 'B (_rhs 'Bool)
5
6'F = _lhs 'F \(a :: _) (b :: _) -> _rhs ' (a, b)
7
8main = _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
16main :: Bool
17main = _rhs True
18------------ tooltips
19testdata/typesyn.lc 3:6-3:7
20 Type
21testdata/typesyn.lc 3:10-3:14
22 Type
23testdata/typesyn.lc 5:6-5:7
24 Type -> Type -> Type
25testdata/typesyn.lc 5:14-5:20
26 Type
27testdata/typesyn.lc 5:15-5:16
28 _e
29testdata/typesyn.lc 5:15-5:19
30 [Type]
31testdata/typesyn.lc 5:18-5:19
32 _c | [Type]
33testdata/typesyn.lc 7:1-7:5
34 Bool
35testdata/typesyn.lc 7:8-7:22
36 Bool -> Bool
37testdata/typesyn.lc 7:8-7:55
38 Bool
39testdata/typesyn.lc 7:9-7:13
40 Bool
41testdata/typesyn.lc 7:9-7:18
42 B
43testdata/typesyn.lc 7:17-7:18
44 Type
45testdata/typesyn.lc 7:20-7:22
46 Bool -> Bool -> Bool
47testdata/typesyn.lc 7:23-7:26
48 forall a b . (a, b) -> a
49testdata/typesyn.lc 7:23-7:55
50 Bool
51testdata/typesyn.lc 7:28-7:39
52 (Bool, Char)
53testdata/typesyn.lc 7:28-7:54
54 F Bool Char
55testdata/typesyn.lc 7:29-7:33
56 Bool
57testdata/typesyn.lc 7:35-7:38
58 Char | ((Char))
59testdata/typesyn.lc 7:43-7:44
60 Type -> Type -> Type
61testdata/typesyn.lc 7:43-7:49
62 Type -> Type
63testdata/typesyn.lc 7:43-7:54
64 Type
65testdata/typesyn.lc 7:45-7:49
66 Type
67testdata/typesyn.lc 7:50-7:54
68 Type \ No newline at end of file