X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fscl%2FArrayList.scl;h=290d7a667383445a5c9cf1c860b2ea9bfd6b4e31;hb=33b30297f751e06e9abac260d31313e2f833fedc;hp=be42bc93185c80d383b957543cfbfb33c6e79f72;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.runtime/scl/ArrayList.scl b/bundles/org.simantics.scl.runtime/scl/ArrayList.scl index be42bc931..290d7a667 100644 --- a/bundles/org.simantics.scl.runtime/scl/ArrayList.scl +++ b/bundles/org.simantics.scl.runtime/scl/ArrayList.scl @@ -32,7 +32,7 @@ importJava "java.util.ArrayList" where @JavaName size length :: T a -> Integer -contains :: Eq a => T a -> a -> Boolean +contains :: T a -> a -> Boolean contains l a = loop 0 where len = length l