General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 09/18/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 75 104 179

Activity

09/18/2020

10:59 PM Ruby master Feature #17177: Include the current file name and the line number in the output of `p`
If a new method is to be created for this purpose, then one possibility is to combine this with the idea that was onc... sawa (Tsuyoshi Sawada)
12:17 PM Ruby master Feature #17177 (Rejected): Include the current file name and the line number in the output of `p`
In many debugging situations, we want to inspect some objects in more than one source location throughout the code. T... sawa (Tsuyoshi Sawada)

09/12/2020

03:20 PM Ruby master Bug #17167 (Closed): Nested numbered parameters are not allowed
Numbered parameter is allowed in an ordinary block:
```ruby
[[1, 2], [3, 4]].each{p _1}
# >> [1, 2]
# >> [3, 4]...
sawa (Tsuyoshi Sawada)
02:46 PM Ruby master Feature #17165 (Open): Add `filter` and `flatten` keywords to `Enumerable#map`
I had a use case to do `map` on an enumerable, with 1-level flattening, while skipping `nil` values.
There are con...
sawa (Tsuyoshi Sawada)

09/09/2020

03:04 AM Ruby master Feature #17163 (Open): Rename `begin`
`Range#begin` is a getter method; it returns a value, and does not have a side effect, or does any calculation. Never... sawa (Tsuyoshi Sawada)

09/05/2020

12:41 AM Ruby master Feature #17153: Add Enumerable#compact_map
Hi Ito-san,
This is a duplicate of https://bugs.ruby-lang.org/issues/5663 and https://bugs.ruby-lang.org/issues/1532...
sawa (Tsuyoshi Sawada)

09/01/2020

03:01 PM Ruby master Bug #14895: Inconsistent constant names when using const_set on a singleton class
Fixed dangling participle. sawa (Tsuyoshi Sawada)

08/29/2020

12:29 PM Ruby master Feature #13683: Add strict Enumerable#single
Dan0042 (Daniel DeLorme) wrote in #note-25:
> I really think the block form should be like find/select
>
> ```ruby
...
sawa (Tsuyoshi Sawada)
04:23 AM Ruby master Feature #13683: Add strict Enumerable#single
Having `Enumerable#find` take an optional keyword argument, say `exception:`, would make more sense, be useful, and h... sawa (Tsuyoshi Sawada)

08/25/2020

11:37 PM Ruby master Bug #17030: Enumerable#grep{_v} should be optimized for Regexp
I feel scivola20 (sciv ola)'s idea promising, but have a concern that it is going to introduce the same kind of mess ... sawa (Tsuyoshi Sawada)

Also available in: Atom