diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-05-03 16:25:31 +0200 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-05-03 16:25:31 +0200 |
commit | 9c258737a3a4cfabec6804947ccf64a552db4c27 (patch) | |
tree | a60a28c73e6633767421bdd0ee91f65c07ec25a7 /testdata/typeclass.out | |
parent | 28279936966115e65bfc02bd1cab564af947cf63 (diff) |
use less wildcards
Diffstat (limited to 'testdata/typeclass.out')
-rw-r--r-- | testdata/typeclass.out | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/testdata/typeclass.out b/testdata/typeclass.out index 82487126..dcc242da 100644 --- a/testdata/typeclass.out +++ b/testdata/typeclass.out | |||
@@ -4,9 +4,9 @@ infix 4 /= | |||
4 | infix 4 < | 4 | infix 4 < |
5 | infixr 3 && | 5 | infixr 3 && |
6 | infixr 2 || | 6 | infixr 2 || |
7 | not = \(a :: _) -> case'Bool (\_ -> _ :: _) (_rhs True) (_rhs False) a | 7 | not = \(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 | (\_ -> _) |
@@ -19,11 +19,7 @@ not = \(a :: _) -> case'Bool (\_ -> _ :: _) (_rhs True) (_rhs False) a | |||
19 | (\_ -> _) | 19 | (\_ -> _) |
20 | (_rhs | 20 | (_rhs |
21 | \(b | 21 | \(b |
22 | := \(c :: _) (d :: _) -> case'Bool | 22 | := \(c :: _) (d :: _) -> case'Bool (\_ -> _) (_rhs (not d)) (_rhs d) c) -> b) |
23 | (\_ -> _ :: _) | ||
24 | (_rhs (not d)) | ||
25 | (_rhs d) | ||
26 | c) -> b) | ||
27 | a | 23 | a |
28 | (_rhs undefined)) | 24 | (_rhs undefined)) |
29 | :: forall e . Eq e => e -> e -> Bool | 25 | :: forall e . Eq e => e -> e -> Bool |