]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Maybe3.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Maybe3.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Maybe3.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Maybe3.scl
new file mode 100644 (file)
index 0000000..8a0f120
--- /dev/null
@@ -0,0 +1,6 @@
+a = Just "ABC"\r
+main = match a with\r
+    Nothing -> "Incorrect"\r
+    Just x -> x\r
+--\r
+ABC
\ No newline at end of file