]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "(refs #7585) Added MList.set"
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Mon, 30 Oct 2017 17:29:39 +0000 (19:29 +0200)
committerGerrit Code Review <gerrit2@www.simantics.org>
Mon, 30 Oct 2017 17:29:39 +0000 (19:29 +0200)
bundles/org.simantics.scl.runtime/scl/MList.scl

index 6cafe6bf4426b6091f8b28488008a451cface46b..fc4f941144a69950360b1895359f1d5a7a471a0e 100644 (file)
@@ -9,6 +9,7 @@ importJava "java.util.List" where
     size :: T a -> <Proc> Integer
     isEmpty :: T a -> <Proc> Boolean
     get :: T a -> Integer -> <Proc> a
+    set :: T a -> Integer -> a -> <Proc> Maybe a
     
     add :: T a -> a -> <Proc> ()
     addAll :: T a -> [a] -> <Proc> ()