General

Profile

matheusrich (Matheus Richard)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 1 3

Like

Activity

12/11/2024

06:56 PM Ruby master Bug #20943: Constant defined in `Data.define` block
FYI: That also happens with `Class.new`. (maybe all blocks?) matheusrich (Matheus Richard)

10/25/2024

01:46 PM Ruby master Feature #20815: Fetch for nested hash
I think this might have been suggested in the past as `deep_fetch`. Could it be `dig!` maybe? matheusrich (Matheus Richard)

08/28/2024

02:07 PM Ruby master Feature #20664: Add `before` and `until` options to Enumerator.produce
The kwargs proposed here could be useful:
```rb
sequence.take_until(inclusive: true, &:terminator?)
```
Alter...
matheusrich (Matheus Richard)

08/26/2024

12:38 PM Ruby master Feature #20664: Add `before` and `until` options to Enumerator.produce
IMO `take_until` shouldn't include the element. So the OP example should be:
```rb
Enumerator.produce(3, &:pred).ta...
matheusrich (Matheus Richard)

08/24/2024

01:53 AM Ruby master Feature #20625: Object#chain_of
@matz since we don't have a `not_nil?` method, what do you think about adding a `take_until` method to Enumerable or ... matheusrich (Matheus Richard)

08/19/2024

09:05 PM Ruby master Feature #20664: Add `before` and `until` options to Enumerator.produce
> The one problem we don’t currently have neither Enumerable#take_until, nor Object#not_nil?, to write something like... matheusrich (Matheus Richard)

07/26/2024

07:19 PM Ruby master Feature #20625: Object#chain_of
@zverok do you think `Enumerator#chain_of?` would be useful as an specialization of `produce().take_while {!_1.nil?}`? matheusrich (Matheus Richard)

07/10/2024

06:56 PM Ruby master Feature #20625 (Open): Object#chain_of
## Motivation
It's often common to traverse a tree/list-like structure in order to get a chain
of elements. This ...
matheusrich (Matheus Richard)

06/21/2024

04:55 AM Ruby master Feature #20580: Pipe Operator accepting lambda
> I call methods much more frequently than lambdas, so I'm not sure how much this syntax would improve my life.
Ag...
matheusrich (Matheus Richard)

04/23/2024

03:20 PM Ruby master Revision 99a46d7f (git): [ruby/prism] Document UnlessNode fields
https://github.com/ruby/prism/commit/eee8276ae6 matheusrich (Matheus Richard)

Also available in: Atom