Issue #2832 has been updated by marcandre (Marc-Andre Lafortune). Status changed from Assigned to Closed Right, let's close this. I still think that Vector#map & select be covariant, and I'll change them if ever there's a request to second that. ---------------------------------------- Feature #2832: Vector#each and Enumerable https://bugs.ruby-lang.org/issues/2832#change-33754 Author: marcandre (Marc-Andre Lafortune) Status: Closed Priority: Normal Assignee: marcandre (Marc-Andre Lafortune) Category: lib Target version: next minor =begin Vector should implement #each and include Enumerable, since it is so Array-like. Enumerable methods that return an array should probably be specialized to return a Vector (e.g. map, first, ...) See also [ruby-core:28403], [redmine:2831] =end
on 2012-11-24 04:07
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.