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