summaryrefslogtreecommitdiff
path: root/testdata/typeclass.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-03 15:37:02 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-03 15:37:02 +0200
commit57d10e734217c6eeaaec61131861bfd2861a4eb0 (patch)
tree1ced06f37ea0902999341ea80bc646cdba7e5db4 /testdata/typeclass.out
parentced2bb3b8d35d0e2faa21adeff04607a2174ae99 (diff)
fix pretty print parens
Diffstat (limited to 'testdata/typeclass.out')
-rw-r--r--testdata/typeclass.out16
1 files changed, 10 insertions, 6 deletions
diff --git a/testdata/typeclass.out b/testdata/typeclass.out
index 10d209d5..f0bd73a3 100644
--- a/testdata/typeclass.out
+++ b/testdata/typeclass.out
@@ -4,22 +4,26 @@ infix 4 /=
4infix 4 < 4infix 4 <
5infixr 3 && 5infixr 3 &&
6infixr 2 || 6infixr 2 ||
7not = \(a :: _) -> case'Bool \_ -> _ :: _ (_rhs True) (_rhs False) a 7not = \(a :: _) -> case'Bool (\_ -> _ :: _) (_rhs True) (_rhs False) a
8&& = \(a :: _) (b :: _) -> case'Bool \_ -> _ :: _ (_rhs False) (_rhs b) a 8&& = \(a :: _) (b :: _) -> case'Bool (\_ -> _ :: _) (_rhs False) (_rhs b) a
9|| = \(a :: _) (b :: _) -> case'Bool \_ -> _ :: _ (_rhs b) (_rhs True) a 9|| = \(a :: _) (b :: _) -> case'Bool (\_ -> _ :: _) (_rhs b) (_rhs True) a
10'Eq 10'Eq
11 = (\(a :: _) -> match'Bool 11 = (\(a :: _) -> match'Bool
12 \_ -> _ 12 (\_ -> _)
13 (_rhs 'Unit) 13 (_rhs 'Unit)
14 a 14 a
15 (_rhs ('Empty "no instance of 'Eq on ???"))) 15 (_rhs ('Empty "no instance of 'Eq on ???")))
16 :: Type -> Type 16 :: Type -> Type
17== 17==
18 = (\ @a -> \ @_ -> match'Bool 18 = (\ @a -> \ @_ -> match'Bool
19 \_ -> _ 19 (\_ -> _)
20 (_rhs 20 (_rhs
21 \(b 21 \(b
22 := \(c :: _) (d :: _) -> case'Bool \_ -> _ :: _ (_rhs (not d)) (_rhs d) c) -> b) 22 := \(c :: _) (d :: _) -> case'Bool
23 (\_ -> _ :: _)
24 (_rhs (not d))
25 (_rhs d)
26 c) -> b)
23 a 27 a
24 (_rhs undefined)) 28 (_rhs undefined))
25 :: forall e . Eq e => e -> e -> Bool 29 :: forall e . Eq e => e -> e -> Bool