Tsuyoshi Sawada

  • Email:
  • Registered on: 04/27/2011
  • Last connection: 04/16/2014

Activity

Reported issues: 45

04/11/2014

06:41 AM ruby-trunk Bug #9728 (Open): Regexp bug
As reported in StackOverflow (http://stackoverflow.com/questions/23004527) (with a wrong expectation), the following ...

04/04/2014

04:52 AM ruby-trunk Bug #9701 (Assigned): RDoc description for `String#<<` and `String#concat`
As far as I can see, `String#<<` is an alias of `String#concat`, but in the RDoc, there is no mentioning of the conne...

03/25/2014

03:33 AM ruby-trunk Bug #9669: Inconsistent SyntaxError in Ruby 2.1 mandatory keyword arguments definition without pa...
That is consistent. In the first example, `'bar'` is interpreted as the default value of `b`. In the second example, ...

03/24/2014

09:25 AM ruby-trunk Feature #9667: Optimization of __FILE__ and __dir__
Sorry, my examples were inappropriate. Please ignore the examples above.
<hr>
Currently, different object id is ret...
09:19 AM ruby-trunk Feature #9667 (Open): Optimization of __FILE__ and __dir__
In the same spirit as the string literal followed by `freeze` is optimized, I think `__FILE__` and `__dir__` should b...

03/18/2014

06:27 PM ruby-trunk Feature #5663: Combined map/select method
I came to think that, if this feature is to be added, then are other methods to be considered: `flat_map` and `to_h` ...

03/07/2014

09:33 AM ruby-trunk Feature #9602: Logic with `Enumerable#grep`
Sam Rawlins wrote:
> This idea should be extended to Enumerable#reject, and Array's #select and #reject, and proba...

03/06/2014

10:36 AM ruby-trunk Feature #9602 (Feedback): Logic with `Enumerable#grep`
`Enumerable#grep` is useful to filter things:
[nil, {}, [], 1, :foo, "foo"].grep(String)
# => ["foo"]
...

03/04/2014

01:52 PM ruby-trunk Feature #5663: Combined map/select method
Also, regarding Yehuda Katz's concern:
> The only caveat is that it would be impossible to intentionally return ni...

03/03/2014

01:55 PM ruby-trunk Feature #5663: Combined map/select method
I would like to propose:
* partial_map

Also available in: Atom