]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Select9.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Select9.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Select9.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Select9.scl
new file mode 100644 (file)
index 0000000..5680679
--- /dev/null
@@ -0,0 +1,12 @@
+import "StandardLibrary"
+
+s1 = [1,2,3]
+s2 = [1,3] 
+    
+main = do
+    C ?x :-
+        ?x <- s1
+        <!> ?x <- s2
+    select ?x where C ?x
+--
+[2]
\ No newline at end of file