]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/List.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / List.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/List.scl b/tests/org.simantics.scl.compiler.tests/src/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