General

Profile

baweaver (Brandon Weaver)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 7 6 13

Activity

01/22/2022

07:26 AM Ruby master Feature #16757: Add intersection to Range
I'd like to see this explored, as I find myself solving a number of problems that involve Range merging, and potentia... baweaver (Brandon Weaver)

01/17/2022

01:17 AM Ruby master Revision ac1bb6b5 (git): [ruby/net-http] Rename `D` to `debug` in `Net::HTTP`
Renames `D` to `debug` in `Net::HTTP` and introduces an alias for
backwards compatibility. This was done for readabil...
baweaver (Brandon Weaver)

01/11/2022

07:17 AM Ruby master Feature #18408: Allow pattern match to set instance variables
jeremyevans0 (Jeremy Evans) wrote in #note-2:
> I don't think it's a bug that pattern match only supports setting lo...
baweaver (Brandon Weaver)

01/05/2022

01:05 AM Ruby master Feature #18181: Introduce Enumerable#min_with_value, max_with_value, and minmax_with_value
I like the more generic suggestion from @ko1 on `with_value`, I had a similar idea before reading it when @shan pinge... baweaver (Brandon Weaver)

12/03/2021

07:06 AM Ruby master Feature #18384: Pattern Match Object
See also this comment from Zverok: https://bugs.ruby-lang.org/issues/18369#note-11 baweaver (Brandon Weaver)
07:05 AM Ruby master Feature #18384 (Open): Pattern Match Object
Related to discussion in #18369 it might be nice to have a literal syntax for constructing a single pattern match cas... baweaver (Brandon Weaver)

12/02/2021

05:58 PM Ruby master Feature #18369: users.detect(:name, "Dorian") as shorthand for users.detect { |user| user.name == "Dorian" }
Pattern Matching may make a very interesting tie-in here for a short-hand:
```ruby
# Struct provides built-in pat...
baweaver (Brandon Weaver)

11/29/2021

04:46 AM Ruby master Feature #18366: Enumerator#return_eval
Interesting. It seems the common usecase you have isolated is similar to the idea of composing some function with the... baweaver (Brandon Weaver)

11/18/2021

06:57 AM Ruby master Feature #12495: Make "private" return the arguments again, for chaining
matz (Yukihiro Matsumoto) wrote in #note-7:
> Sounds OK. Accepted. The side effect should be trivial.
>
> Matz.
...
baweaver (Brandon Weaver)

09/13/2021

04:54 AM Ruby master Revision 46769217 (git): Adds mixed hash value and value omission tests
Introduces specification tests for mixed values and value omissions for
Hashes and keyword arguments, such as `{ a:, ...
baweaver (Brandon Weaver)

Also available in: Atom