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