]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/List.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / List.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/List.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/List.scl
new file mode 100644 (file)
index 0000000..b746c31
--- /dev/null
@@ -0,0 +1,7 @@
+\r
+data List a = Nil | Cons a (List a)\r
+\r
+main :: List Integer\r
+main = Cons (3 :: Integer) Nil\r
+--\r
+(Cons 3 Nil)
\ No newline at end of file