matheusrich (Matheus Richard)
- Login: matheusrich
- Email: matheusrichardt@gmail.com
- Registered on: 01/24/2021
- Last sign in: 11/13/2024
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 2 | 1 | 3 |
Like
Activity
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?
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...
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...
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 ...
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...
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?}`?
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 ...
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...
04/23/2024
- 03:20 PM Ruby master Revision 99a46d7f (git): [ruby/prism] Document UnlessNode fields
- https://github.com/ruby/prism/commit/eee8276ae6
- 03:11 PM Ruby master Revision b3350e3e (git): [ruby/prism] Document BreakNode fields
- https://github.com/ruby/prism/commit/7a3ed22f14
Also available in: Atom