X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.scl.runtime%2Fscl%2FSetUtils.scl;fp=bundles%2Forg.simantics.scl.runtime%2Fscl%2FSetUtils.scl;h=0000000000000000000000000000000000000000;hp=00fa752157498ec7b5bf5656902fe96866d16352;hb=e1b1c30f512d3c196c86c4a1f0eaf8b7dd461a9a;hpb=036b555cbdd43f284be4818de93f11fdddf6d9f2 diff --git a/bundles/org.simantics.scl.runtime/scl/SetUtils.scl b/bundles/org.simantics.scl.runtime/scl/SetUtils.scl deleted file mode 100644 index 00fa75215..000000000 --- a/bundles/org.simantics.scl.runtime/scl/SetUtils.scl +++ /dev/null @@ -1,13 +0,0 @@ -import "Prelude" -import "Set" as Set -import "MSet" as MSet -import "MList" as MList - -fromList :: [a] -> Set.T a -fromList l = runProc (MSet.freeze $ MSet.fromList l) - -toList :: Set.T a -> [a] -toList s = runProc do - result = MList.createC (Set.size s) - Set.iter (MList.add result) s - MList.freeze result \ No newline at end of file