General

Profile

robb (Robb Shecter)

Issues

Activity

12/28/2018

05:31 AM Ruby trunk Feature #12282: Hash#dig! for repeated applications of Hash#fetch
Another naming idea is `#fetch_all`, signalling that this is essentially a `#fetch` over a list of keys. robb (Robb Shecter)
05:15 AM Ruby trunk Feature #12282: Hash#dig! for repeated applications of Hash#fetch
Thanks everyone, for the discussion. I realize that my original comparison with #dig had a typographical error. Here'... robb (Robb Shecter)
05:27 AM Ruby trunk Feature #15477 (Open): Proc#arity returns -1 for composed lambda Procs of known arguments
```
f = -> x { x + 2 }
g = -> x { x * 2 }
h = f << g
f.arity # => 1
g.arity # => 1
h.arity # => -1 THIS SHOU...
robb (Robb Shecter)

04/14/2016

06:35 AM Ruby trunk Feature #12282 (Open): Hash#dig! for repeated applications of Hash#fetch
A new feature for your consideration: #dig! which is to #fetch as #dig is to #[]. For me and maybe many others, Hash#... robb (Robb Shecter)

10/22/2015

09:12 AM Ruby trunk Misc #11295: Request for comments about error messages
See also "Clarify the error message when calling a method with the wrong number of arguments", https://bugs.ruby-lang... robb (Robb Shecter)
08:48 AM Ruby trunk Misc #11295: Request for comments about error messages
Koichi Sasada wrote:
>
> If you have any idea, please tell us.
> We can consider about Ruby's error message APIs ...
robb (Robb Shecter)
08:42 AM Ruby trunk Misc #11295: Request for comments about error messages
Thanks for starting this discussion!
> And some requests.
>
> * Reverse backtrace and show error messages at th...
robb (Robb Shecter)
09:11 AM Ruby trunk Feature #9025: Clarify the error message when calling a method with the wrong number of arguments
"(expected: 1, provided: 0)" is excellent. This is a big usability issue. Python's message is similar, and includes t... robb (Robb Shecter)

Also available in: Atom