]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/MarketModel.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / MarketModel.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/MarketModel.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/MarketModel.scl
new file mode 100644 (file)
index 0000000..da27b04
--- /dev/null
@@ -0,0 +1,11 @@
+import "Prelude"\r
+\r
+l :: [Integer]\r
+l = [2,3]\r
+\r
+f :: Integer -> <Proc> [Integer]\r
+f n = [n] + [0 | i <- l]\r
+    \r
+main = f 1\r
+--\r
+[1, 0, 0]
\ No newline at end of file