X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fscl%2FBigInteger.scl;h=cdc0ad102d5b65e353791922104a823e4c275f67;hp=af9093701d51186c4059b30685b42024c41e5fc9;hb=a8758de5bc19e5adb3f618d3038743a164f09912;hpb=12d9af17384d960b75d58c3935d2b7b46d93e87b diff --git a/bundles/org.simantics.scl.runtime/scl/BigInteger.scl b/bundles/org.simantics.scl.runtime/scl/BigInteger.scl index af9093701..cdc0ad102 100644 --- a/bundles/org.simantics.scl.runtime/scl/BigInteger.scl +++ b/bundles/org.simantics.scl.runtime/scl/BigInteger.scl @@ -42,9 +42,6 @@ importJava "java.math.BigInteger" where @JavaName intValue toIntegerBigInteger :: BigInteger -> Integer -instance Eq BigInteger where - (==) = equalsBigInteger - instance Show BigInteger where show = showBigInteger @@ -53,9 +50,6 @@ instance Ord BigInteger where min = minBigInteger max = maxBigInteger -instance Hashable BigInteger where - hashP v x = hashBigInteger v + 31*x - instance Additive BigInteger where zero = zeroBigInteger (+) = addBigInteger