From: Marko Luukkainen Date: Wed, 22 Nov 2017 16:22:09 +0000 (+0200) Subject: Add Maybe for SCL functions that can return null. X-Git-Tag: v1.31.0^0 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=refs%2Fheads%2Frelease%2F1.31.0;p=simantics%2Finterop.git Add Maybe for SCL functions that can return null. --- diff --git a/org.simantics.interop.update/scl/Interop/Update.scl b/org.simantics.interop.update/scl/Interop/Update.scl index e850b05..40d61b5 100644 --- a/org.simantics.interop.update/scl/Interop/Update.scl +++ b/org.simantics.interop.update/scl/Interop/Update.scl @@ -21,13 +21,13 @@ importJava "org.simantics.interop.update.model.ModelUpdate" where applySelectedUpdates :: ModelUpdate -> () @JavaName getUpdateTree2 - getUpdateTree2 :: ModelUpdate -> UpdateTree + getUpdateTree2 :: ModelUpdate -> Maybe UpdateTree @JavaName getUpdateList2 - getUpdateList2 :: ModelUpdate -> UpdateList + getUpdateList2 :: ModelUpdate -> Maybe UpdateList @JavaName getChanges2 - getGraphChanges2 :: ModelUpdate -> GraphChanges + getGraphChanges2 :: ModelUpdate -> Maybe GraphChanges @JavaName getUpdateTree3 getUpdateTree3 :: ModelUpdate -> Maybe UpdateTree