From: Hannu Niemistö Date: Mon, 30 Oct 2017 16:56:39 +0000 (+0200) Subject: (refs #7585) Added MList.set X-Git-Tag: v1.31.0~82^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=d65c521432930a15629ee2bedd8cafd6673b2e9a;p=simantics%2Fplatform.git (refs #7585) Added MList.set Change-Id: I05a1946d3dd00454a0f91ae34c807d53f5655a11 --- diff --git a/bundles/org.simantics.scl.runtime/scl/MList.scl b/bundles/org.simantics.scl.runtime/scl/MList.scl index 6cafe6bf4..fc4f94114 100644 --- a/bundles/org.simantics.scl.runtime/scl/MList.scl +++ b/bundles/org.simantics.scl.runtime/scl/MList.scl @@ -9,6 +9,7 @@ importJava "java.util.List" where size :: T a -> Integer isEmpty :: T a -> Boolean get :: T a -> Integer -> a + set :: T a -> Integer -> a -> Maybe a add :: T a -> a -> () addAll :: T a -> [a] -> ()