summaryrefslogtreecommitdiff
path: root/testdata/typeclass.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-04 16:41:56 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-04 16:41:56 +0200
commitd09859323b7213d6b3c3baf485d8389100faf469 (patch)
treeeda20598a3729354cd702e847d648dadfa3acf44 /testdata/typeclass.out
parent6066e1154af07dd27733343199fd51758fed6c52 (diff)
implement constraint kinds
Diffstat (limited to 'testdata/typeclass.out')
-rw-r--r--testdata/typeclass.out12
1 files changed, 6 insertions, 6 deletions
diff --git a/testdata/typeclass.out b/testdata/typeclass.out
index 8a79e832..3b2170e0 100644
--- a/testdata/typeclass.out
+++ b/testdata/typeclass.out
@@ -16,15 +16,15 @@ not = \(a :: _) -> case'Bool (\_ -> _) (_rhs True) (_rhs False) a
16 16
17(||) = \(a :: _) (b :: _) -> case'Bool (\_ -> _) (_rhs b) (_rhs True) a 17(||) = \(a :: _) (b :: _) -> case'Bool (\_ -> _) (_rhs b) (_rhs True) a
18 18
19'Eq :: Type -> Type 19'Eq :: Type -> Constraint
20'Eq 20'Eq
21 = \(a :: _) -> match'Bool 21 = \(a :: _) -> match'Bool
22 (\_ -> _) 22 (\_ -> _)
23 (_rhs 'Unit) 23 (_rhs 'CUnit)
24 a 24 a
25 (_rhs ('Empty "no instance of 'Eq on ???")) 25 (_rhs ('CEmpty "no instance of 'Eq on ???"))
26 26
27(==) :: forall a . Eq a => a -> a -> Bool 27(==) :: forall a . CW (Eq a) => a -> a -> Bool
28(==) 28(==)
29 = \ @a @_ -> match'Bool 29 = \ @a @_ -> match'Bool
30 (\_ -> _) 30 (\_ -> _)
@@ -50,7 +50,7 @@ not = \(a :: _) -> case'Bool (\_ -> _) (_rhs True) (_rhs False) a
50not :: Bool -> Bool 50not :: Bool -> Bool
51(&&) :: Bool -> Bool -> Bool 51(&&) :: Bool -> Bool -> Bool
52(||) :: Bool -> Bool -> Bool 52(||) :: Bool -> Bool -> Bool
53'Eq :: Type -> Type 53'Eq :: Type -> Constraint
54(==) :: forall a . Eq a => a -> a -> Bool 54(==) :: forall a . Eq a => a -> a -> Bool
55(/=) :: forall a . Eq a => a -> a -> Bool 55(/=) :: forall a . Eq a => a -> a -> Bool
56(==.) :: forall a b . [a] -> [b] -> Bool 56(==.) :: forall a b . [a] -> [b] -> Bool
@@ -80,7 +80,7 @@ testdata/typeclass.lc 14:14-15:17
80testdata/typeclass.lc 15:13-15:17 80testdata/typeclass.lc 15:13-15:17
81 Bool 81 Bool
82testdata/typeclass.lc 17:7-17:9 82testdata/typeclass.lc 17:7-17:9
83 Type -> Type | Type -> Type 83 Type -> Constraint | Type -> Constraint | Constraint
84testdata/typeclass.lc 17:7-18:27 84testdata/typeclass.lc 17:7-18:27
85 Type 85 Type
86testdata/typeclass.lc 18:6-18:8 86testdata/typeclass.lc 18:6-18:8