summaryrefslogtreecommitdiff
path: root/testdata/typeclass.out
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/typeclass.out')
-rw-r--r--testdata/typeclass.out30
1 files changed, 29 insertions, 1 deletions
diff --git a/testdata/typeclass.out b/testdata/typeclass.out
index 7d92928d..8a79e832 100644
--- a/testdata/typeclass.out
+++ b/testdata/typeclass.out
@@ -35,6 +35,17 @@ not = \(a :: _) -> case'Bool (\_ -> _) (_rhs True) (_rhs False) a
35 (_rhs undefined) 35 (_rhs undefined)
36 36
37(/=) = \(a :: _) (b :: _) -> _rhs (not (a == b)) 37(/=) = \(a :: _) (b :: _) -> _rhs (not (a == b))
38
39(==.)
40 = \(a :: _) (b :: _) -> case'List
41 (\_ -> _)
42 (case'List (\_ -> _) (_rhs True) (\_ _ -> _rhs False) b)
43 (\_ (c :: _) -> case'List
44 (\_ -> _)
45 (_rhs False)
46 (\_ (d :: _) -> _rhs (c ==. d))
47 b)
48 a
38------------ trace 49------------ trace
39not :: Bool -> Bool 50not :: Bool -> Bool
40(&&) :: Bool -> Bool -> Bool 51(&&) :: Bool -> Bool -> Bool
@@ -42,6 +53,7 @@ not :: Bool -> Bool
42'Eq :: Type -> Type 53'Eq :: Type -> Type
43(==) :: forall a . Eq a => a -> a -> Bool 54(==) :: forall a . Eq a => a -> a -> Bool
44(/=) :: forall a . Eq a => a -> a -> Bool 55(/=) :: forall a . Eq a => a -> a -> Bool
56(==.) :: forall a b . [a] -> [b] -> Bool
45------------ tooltips 57------------ tooltips
46testdata/typeclass.lc 8:1-8:4 58testdata/typeclass.lc 8:1-8:4
47 Bool -> Bool 59 Bool -> Bool
@@ -108,4 +120,20 @@ testdata/typeclass.lc 24:18-24:21
108testdata/typeclass.lc 24:18-24:23 120testdata/typeclass.lc 24:18-24:23
109 Bool 121 Bool
110testdata/typeclass.lc 24:22-24:23 122testdata/typeclass.lc 24:22-24:23
111 _b \ No newline at end of file 123 _b
124testdata/typeclass.lc 26:6-26:9
125 forall a b . [a] -> [b] -> Bool
126testdata/typeclass.lc 26:17-26:21
127 Bool
128testdata/typeclass.lc 26:17-28:22
129 [_a] -> Bool | Bool
130testdata/typeclass.lc 27:36-27:38
131 [_j]
132testdata/typeclass.lc 27:36-28:22
133 [_a] -> Bool | Bool
134testdata/typeclass.lc 27:39-27:42
135 _l
136testdata/typeclass.lc 27:43-27:45
137 [_g]
138testdata/typeclass.lc 28:17-28:22
139 Bool | Bool \ No newline at end of file