shithub: mc

Download patch

ref: 65d4e2176f7f0ea82fe641571fc1542a4856da77
parent: 20cea781b95e1a6c1fa2f6cd2bb6c05ec9a4480d
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Oct 15 17:43:25 EDT 2016

Fix typo in std.byreverse() specification.

	Shit. this shouldn't have compiled...

--- a/lib/std/iterutil.myr
+++ b/lib/std/iterutil.myr
@@ -19,7 +19,7 @@
 
 	impl iterable zipiter(@a, @b) -> (@a, @b)
 	impl iterable enumiter(@a) -> (size, @a)
-	impl iterable reverseiter(@a) -> (size, @a)
+	impl iterable reverseiter(@a) -> @a
 
 	generic byzip	: (a : @a[:], b : @b[:]	 -> zipiter(@a, @b))
 	generic byenum	: (a : @a[:] -> enumiter(@a))