summaryrefslogtreecommitdiff
path: root/lib/std/readall.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-02-04 23:00:27 -0800
committerOri Bernstein <ori@eigenstate.org>2017-02-04 23:00:27 -0800
commit545d75324d8ad1d9f8f9977b0911e8e9e0704674 (patch)
tree9be767627108edab0ce0833e5b5a308eaafc8ab0 /lib/std/readall.myr
parentd6bd40e37b085aec922c6bb56e867e85a6c36982 (diff)
downloadmc-545d75324d8ad1d9f8f9977b0911e8e9e0704674.tar.gz
Ucons are now prefix expressions.
It's just what it looks like. This cleans up taking the address of union literals.
Diffstat (limited to 'lib/std/readall.myr')
-rw-r--r--lib/std/readall.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/readall.myr b/lib/std/readall.myr
index 68c930e..4f7d1da 100644
--- a/lib/std/readall.myr
+++ b/lib/std/readall.myr
@@ -22,5 +22,5 @@ const readall = {fd, dst
-> `Err e
;;
;;
- -> `Ok sz - dst.len
+ -> `Ok (sz - dst.len)
}