ref: 3343042d66d59d2ad000d385034d4486ff97a210
parent: b4cd0bad3cab41cce85380c127b26af6a8dd083b
author: Lennart Augustsson <lennart@augustsson.net>
date: Sat Oct 28 12:56:46 EDT 2023
Simplify.
--- a/tests/Class.hs
+++ b/tests/Class.hs
@@ -1,4 +1,5 @@
module Class(main) where
+import Primitives
import Prelude
class Eqq a where
@@ -7,10 +8,10 @@
x /== y = not (x === y)
instance Eqq Int where
- (===) = (==)
+ (===) = primIntEQ
instance Eqq Char where
- (===) = eqChar
+ (===) = primCharEQ
instance forall a . Eqq a => Eqq [a] where
[] === [] = True
--
⑨