]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.runtime/scl/Async.scl
Added <Proc>-effect for function pmap in Async module
[simantics/platform.git] / bundles / org.simantics.scl.runtime / scl / Async.scl
index c47f457ef7d5751aa5e5d0c8bc2056b0219368d5..f4b3a92983eb38e8484f8d6e34b0e5c7b22f2d29 100644 (file)
@@ -1,2 +1,3 @@
 importJava "org.simantics.scl.runtime.utils.AsyncUtils" where
-    runAsync :: (<Proc> a) -> <Proc> ()
\ No newline at end of file
+    runAsync :: (<Proc> a) -> <Proc> ()
+    pmap :: (a -> <Proc> b) -> [a] -> <Proc> [b]