General

Profile

shan (Shannon Skipper)

  • Registered on: 12/23/2012
  • Last connection: 01/19/2018

Issues

Activity

01/05/2018

07:14 PM Ruby trunk Bug #14314: Marshalling broken in Ruby 2.5.0 for Structs with keyword_init: true
k0kubun (Takashi Kokubun) wrote:
> Thank you to catch this. I fixed this in r61616.
Will this also fix YAML deser...

09/24/2017

05:14 PM Ruby trunk Feature #13933: Add Range#empty?
Range mixes in Enumerable so you can use #none?.
~~~
('a'..'b').none? #=> false
('b'..'a').none? #=> true
~~~

08/03/2017

09:11 PM Ruby trunk Feature #13780: String#each_grapheme
shevegen (Robert A. Heiler) wrote:
> My only concern is about the name "grapheme".
>
> I don't know how it is for...

06/28/2017

01:15 AM Ruby trunk Feature #13683: Add strict Enumerable#single
shevegen (Robert A. Heiler) wrote:
> What would the results be for the following code? In ruby (I find
> it easier ...

05/26/2017

08:33 PM Ruby trunk Feature #13601: Remove yield_self from Ruby 2.5 (already implemented)
Note there are differences, for example
~~~ruby
42.instance_eval { abs2 } #=> 1764
~~~
won't work with Kernel#y...

05/14/2017

06:55 AM Ruby trunk Feature #13562: Use a sized enumerator with #yield_self
I'm not at all sure about my implementation, but here is a pull request with my attempt: https://github.com/ruby/ruby...
06:53 AM Ruby trunk Feature #13562 (Closed): Use a sized enumerator with #yield_self
The #yield_self Enumerator instance always has a #count of `1`. I think it might be nice to provide a lazy #size of `...

03/05/2016

02:42 AM Ruby trunk Feature #12134: Comparison between `true` and `false`
Just for comparison purposes, here's an example of the latter with #partition:
~~~ruby
[7, 6, 5, 4, 3, 2, 1].part...

11/05/2015

09:53 PM Ruby trunk Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
This seems quite nice. Any downsides?

03/06/2015

08:06 PM Ruby trunk Feature #10883: Passing a block to itself
I think having a block form of #itself would be great. Here's a highly contrived example:
~~~
(("123".to_i - 3).t...

Also available in: Atom