summaryrefslogtreecommitdiff
path: root/test/generictype.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-10-28 15:39:01 -0400
committerOri Bernstein <ori@eigenstate.org>2013-10-28 15:39:01 -0400
commit7d5e7e7c19be9477fb0bc0f6cc6f9c22a905b2c5 (patch)
treef6402fddce8bde453291627cdd4d8db2ad0fd59e /test/generictype.myr
parent084633c4e6ad273009e63f7ff1ecd8f458300a8f (diff)
downloadmc-7d5e7e7c19be9477fb0bc0f6cc6f9c22a905b2c5.tar.gz
Streamline syntax.
Move from: match foo bar: action ;; baz: action ;; To: match foo | bar: action | baz: action ;;
Diffstat (limited to 'test/generictype.myr')
-rw-r--r--test/generictype.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/generictype.myr b/test/generictype.myr
index 4b9c696..ae3c148 100644
--- a/test/generictype.myr
+++ b/test/generictype.myr
@@ -11,8 +11,8 @@ const main = {
v = `Some 123
match v
- `None: -> 1;;
- `Some 123: -> 0;;
+ | `None: -> 1
+ | `Some 123: -> 0
;;
-> 60
}