General

Profile

zverok (Victor Shepelev)

Issues

Activity

06/21/2018

10:07 AM Ruby trunk Feature #14781: Enumerator#generate
Though, I should add that `Enumerator.generate` (seen this way, not just `.generate` alone) seems to clearly state "g...
10:06 AM Ruby trunk Feature #14781: Enumerator#generate
I like `#sequence`, too.

06/14/2018

06:40 PM Ruby trunk Misc #14769: DevelopersMeeting20180621Japan
* [Feature #14709] Proper pattern matching
* [Feature #14799] Startless range
* [Feature #14784] One-sided Comparab...

05/31/2018

09:51 AM Ruby trunk Feature #14799: Startless range
> except it seems endless range does not raise for #reverse_each :)
Funny!
Though, in fact, raises some big qu...
09:14 AM Ruby trunk Feature #14799: Startless range
> how should Range#each work for this kind of ranges?
Most probably it should not (the same as `Enumerable#reverse...
07:56 AM Ruby trunk Feature #14799 (Assigned): Startless range
On introduction of endless range at #12912, "startless range" was discussed this way:
> @sowieso: Not having the o...

05/24/2018

08:39 AM Ruby trunk Feature #14784: One-sided Comparable#clamp
@nobu
> Why not `[chain.of.calculations, 0].max`?
Because this `chain.of.calculations` in reality could be some...

05/23/2018

01:04 PM Ruby trunk Feature #14784 (Open): One-sided Comparable#clamp
**Proposal**
Allow "one-sided" `clamp` to limit only upper bound (and, ideally, only lower too).
Proposed imple...
12:21 PM Ruby trunk Misc #14769: DevelopersMeeting20180621Japan
* [Feature #14781] `Enumerator#generate`: more reasonable version of `Object#enumerate` proposed for the previous mee...
10:35 AM Ruby trunk Feature #14783: String#chars_at / String#bytes_at
```ruby
string = 'hello, world!'
string.chars.values_at(0, 5, 7, 12)
# => ["h", ",", "w", "!"]
string.chars.value...

Also available in: Atom