ref: 23626785a460ead2c439e2b73209b9b1dc83d552
parent: abad00c11d5e0407b20281cbdae9386c275f4bf5
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Jul 16 13:01:21 EDT 2017
Byref should return a refiter. Oops.
--- a/lib/std/iterutil.myr
+++ b/lib/std/iterutil.myr
@@ -38,7 +38,7 @@
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))
;;