summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-16 17:01:21 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-16 17:01:21 -0700
commit23626785a460ead2c439e2b73209b9b1dc83d552 (patch)
tree795921ff3aece2aaefc07212c093bfda6893195c
parentabad00c11d5e0407b20281cbdae9386c275f4bf5 (diff)
downloadmc-23626785a460ead2c439e2b73209b9b1dc83d552.tar.gz
Byref should return a refiter.
Oops.
-rw-r--r--lib/std/iterutil.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/iterutil.myr b/lib/std/iterutil.myr
index ad45e0b..79b0e80 100644
--- a/lib/std/iterutil.myr
+++ b/lib/std/iterutil.myr
@@ -38,7 +38,7 @@ pkg std =
generic byzip : (a : @a[:], b : @b[:] -> zipiter(@a, @b))
generic byenum : (a : @a[:] -> enumiter(@a))
generic byreverse : (sl : @a[:] -> reverseiter(@a))
- generic byref : (sl : @a[:] -> reverseiter(@a))
+ generic byref : (sl : @a[:] -> refiter(@a))
generic bychunk : (a : @a[:], chunk : size -> chunkiter(@a))
;;