General

Profile

davidarnold (David Arnold)

  • Login: davidarnold
  • Registered on: 08/04/2017
  • Last sign in: 11/04/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 2 4

Activity

08/31/2017

01:02 PM Ruby master Feature #13784: Add Enumerable#filter as an alias of Enumerable#select
matz (Yukihiro Matsumoto) wrote:
> Sounds OK. One concern left is `Hash#filter`.
>
> Matz.
I have added a bug ...
davidarnold (David Arnold)

08/26/2017

02:26 AM Ruby master Feature #13801: Implement case equality test for Set#===
> I expect Set to act almost like Array [...]
But why? Aside from both being collections, there is no connection....
davidarnold (David Arnold)

08/12/2017

04:03 PM Ruby master Feature #13795: Hash#select return type does not match Hash#find_all
> In the worst case, ruby 3.x may accept backwards-incompatible changes so either way
> I think you can continue to ...
davidarnold (David Arnold)
04:00 PM Ruby master Feature #13795: Hash#select return type does not match Hash#find_all
> > Also, as a side note, it seems that Hash#select and #reject really are the only two methods that behave this way... davidarnold (David Arnold)

08/11/2017

04:21 AM Ruby master Feature #13801: Implement case equality test for Set#===
Created pull request: https://github.com/ruby/ruby/pull/1673 davidarnold (David Arnold)

08/10/2017

09:41 PM Ruby master Misc #13804 (Open): Protected methods cannot be overridden
In Ruby, the main reason you would use protected instead of private is because you want different instances of the sa... davidarnold (David Arnold)
08:23 PM Ruby master Feature #13801 (Closed): Implement case equality test for Set#===
In keeping with other class semantics, Set should implement an inclusion / membership test for #===.
For example w...
davidarnold (David Arnold)
04:12 PM Ruby master Feature #13795: Hash#select return type does not match Hash#find_all
I did some research to explore the idea that *more* Enumerable classes should implement #select (and even #collect, #... davidarnold (David Arnold)

08/09/2017

08:37 PM Ruby master Feature #13795: Hash#select return type does not match Hash#find_all
> I would like to suggest a third possible option: if Hash#select returning a Hash is useful, why not expand on this ... davidarnold (David Arnold)
05:47 PM Ruby master Feature #13795: Hash#select return type does not match Hash#find_all
> This might make the next version of Ruby not backwards-compatible in some instances. It might be better to leave th... davidarnold (David Arnold)

Also available in: Atom