General

Profile

sawa (Tsuyoshi Sawada)

  • Login: sawa
  • Registered on: 04/27/2011
  • Last connection: 10/28/2020

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 76 103 179

Activity

10/22/2020

03:16 PM Ruby master Feature #17277: Make Enumerator#with_index yield row and col indices for Matrix
I think the current behaviour is natural. You cannot play around with `with_index` since its receiver is `Enumerator`... sawa (Tsuyoshi Sawada)

10/11/2020

12:09 PM Ruby master Bug #17257: Integer#pow(0, 1) returns 1, which is incorrect
I cannot follow the discussion because of the expression "multiplying `x % m` to 1 `y` times." What does that mean? sawa (Tsuyoshi Sawada)

09/19/2020

11:19 PM Ruby master Feature #17177: Include the current file name and the line number in the output of `p`
What about the method name `inform`? sawa (Tsuyoshi Sawada)

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)

Also available in: Atom