-import "JavaBuiltin" as Java\r
-\r
-infixl 6 (+)\r
-\r
-class Additive a where \r
- (+) :: a -> a -> a \r
- \r
-instance Additive Double where\r
- (+) = Java.dadd\r
-\r
-instance Additive Double where\r
- (+) = Java.dadd\r
---\r
+import "JavaBuiltin" as Java
+
+infixl 6 (+)
+
+class Additive a where
+ (+) :: a -> a -> a
+
+instance Additive Double where
+ (+) = Java.dadd
+
+instance Additive Double where
+ (+) = Java.dadd
+--
11:1-12:20: Duplicate definition of the instance Additive Double.
\ No newline at end of file