shan (Shannon Skipper)

  • Registered on: 12/23/2012
  • Last connection: 01/19/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...


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


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...


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 ...


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


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:
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 `...


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:
[7, 6, 5, 4, 3, 2, 1].part...


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


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