added unison-src/tests/text-pattern.ur

This commit is contained in:
Arya Irani 2019-02-27 13:59:15 -05:00
parent 721341c20d
commit d386787558
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,6 @@
foo x = case x of
"xyz" -> false
"abc" -> true
_ -> false
> (foo "abc", foo "xyz", foo "hello, world")

View File

@ -0,0 +1 @@
(true, false, false)