General

Profile

baweaver (Brandon Weaver)

Issues

Activity

01/16/2019

01:44 AM Ruby trunk Feature #15541 (Open): Add alias symbolize_keys for symbolize_names kwarg for JSON.parse
https://github.com/ruby/psych/issues/341
When trying to symbolize keys on JSON parsing, it's really hard to rememb...
baweaver (Brandon Weaver)

12/13/2018

12:23 AM Ruby trunk Feature #11076: Enumerable method count_by
@matz / @ko1: Any chance of this making it into 2.6? The code is already done (thanks @nobu) and the only considerati... baweaver (Brandon Weaver)

11/07/2018

08:35 AM Ruby trunk Feature #14145: Proposal: Better Method#inspect
Good point. I can't think of a good solution to that that would not involve substantial work.
nobu (Nobuyoshi Naka...
baweaver (Brandon Weaver)

11/06/2018

11:36 PM Ruby trunk Feature #14145: Proposal: Better Method#inspect
It may be possible to procify the arguments to self-contain them without really disturbing their integrity. `method(:... baweaver (Brandon Weaver)

08/09/2018

06:15 PM Ruby trunk Feature #11076: Enumerable method count_by
`group_count`? It's half-way between `group_by` and `count` baweaver (Brandon Weaver)

08/08/2018

08:51 PM Ruby trunk Feature #14869: Proposal to add Hash#===
I had mentioned this in the `Array#===` topic for consideration: https://bugs.ruby-lang.org/issues/14916#note-6
In...
baweaver (Brandon Weaver)
08:46 PM Ruby trunk Feature #14916: Proposal to add Array#===
I've noticed that this will always return false if the other value is not an array:
(line 4011 of patch)
```ruby
...
baweaver (Brandon Weaver)

08/06/2018

03:11 AM Ruby trunk Misc #14921: DevelopersMeeting20180809Japan
[Feature #14967] Any type - Adds a wildcard type, primarily for use in Pattern Matching type syntaxes
This would b...
baweaver (Brandon Weaver)
03:09 AM Ruby trunk Feature #14967 (Open): Any type
In Scala, there's the concept of an Any type which can be used to match anything.
The implementation of which is q...
baweaver (Brandon Weaver)

08/05/2018

10:53 PM Ruby trunk Feature #14869: Proposal to add Hash#===
I recently got permission to repurpose the `Any` gem, which gives us this:
```
require 'any'
case {id: 1, name...
baweaver (Brandon Weaver)

Also available in: Atom