summaryrefslogtreecommitdiff
path: root/lib/std/slurp.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-12-30 19:23:12 -0800
committerOri Bernstein <ori@eigenstate.org>2017-12-30 19:23:12 -0800
commitf4a939a2cfdc00643b02c404b0acbed382964dd0 (patch)
tree107db984a46b56f0803960155dba25977df78aae /lib/std/slurp.myr
parentb4252aeded2d15592fe940e20f533f113000c61d (diff)
downloadmc-f4a939a2cfdc00643b02c404b0acbed382964dd0.tar.gz
Start cleaning up libstd.
minor formatting, factoring out iterutil.
Diffstat (limited to 'lib/std/slurp.myr')
-rw-r--r--lib/std/slurp.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/slurp.myr b/lib/std/slurp.myr
index 8e653f9..4df49b9 100644
--- a/lib/std/slurp.myr
+++ b/lib/std/slurp.myr
@@ -7,8 +7,8 @@ use "errno"
use "types"
pkg std =
- const slurp : (path : byte[:] -> result(byte[:], errno))
- const fslurp : (path : fd -> result(byte[:], errno))
+ const slurp : (path : byte[:] -> result(byte[:], errno))
+ const fslurp : (path : fd -> result(byte[:], errno))
;;
const Bufstart = 4096