General

Profile

knu (Akinori MUSHA)

Issues

Projects

Activity

07/11/2019

10:00 AM Ruby master Feature #15973: Make it so Kernel#lambda always return a lambda
I don't think the lambda flag should be altered after the creation of a proc, because it's all up to the writer of a ... knu (Akinori MUSHA)

06/13/2019

09:01 AM Ruby master Feature #15901: Enumerator::Lazy#eager
I'd rather keep this issue simple. We can talk about it later in another issue. knu (Akinori MUSHA)
07:05 AM Ruby master Feature #15901: Enumerator::Lazy#eager
mame (Yusuke Endoh) wrote:
> How about this style?
>
> ```
> [0, 1, 2].lazy {|e| e.map {|n| n + 1 }.map {|n| n.t...
knu (Akinori MUSHA)
08:08 AM Ruby master Feature #15563: #dig that throws an exception if an key doesn't exist
I thought adding an optional block to dig could be an idea.
```ruby
obj.dig(*keys) { |dug_keys, rest_keys|
# r...
knu (Akinori MUSHA)

06/06/2019

01:55 PM Ruby master Feature #15901: Enumerator::Lazy#eager
> One argument would be the callee should do take_while {}.to_a if they really want an Array and not just an Enumerab... knu (Akinori MUSHA)
04:35 AM Ruby master Feature #15901: Enumerator::Lazy#eager
Suppose I want to pass the `enum` to another method that takes an Enumerable object where the passed object is expect... knu (Akinori MUSHA)

06/05/2019

11:52 AM Ruby master Feature #15901 (Open): Enumerator::Lazy#eager
There are cases where you want to create and pass a normal Enumerable object to a consumer where the methods like map... knu (Akinori MUSHA)

05/21/2019

02:52 AM Ruby master Feature #15281: Speed up Set#intersect with size check.
It is clearly stated that Set is an unordered collection and it doesn't even guarantee any determinacy about the orde... knu (Akinori MUSHA)

04/17/2019

08:27 AM Ruby master Feature #15752: A dedicated module for experimental features
I think it's a good idea to reserve a namespace globally shared among Ruby implementations, even if it's up to each i... knu (Akinori MUSHA)
08:19 AM Ruby master Feature #15752: A dedicated module for experimental features
Using a plural constant name sounds like a good idea because it wouldn't likely conflict with existing model names. 😄 knu (Akinori MUSHA)

Also available in: Atom