General

Profile

Yusuke Endoh

Issues

Projects

Activity

11/25/2016

01:31 PM Ruby trunk Bug #12980: Time - Time to return a Rational
I think of one philosophical reason and one practical reason.
A philosophical reason: many Time objects are inhere...

11/11/2016

03:31 AM Ruby trunk Feature #12913: A way to configure the default maximum width of pp
Akira Tanaka wrote:
> pp (including pretty_inspect and PP.pp) method is used in many gems.
Note that my proposal ...

11/10/2016

03:33 AM Ruby trunk Feature #12912: An endless range `(1..)`
Akinori MUSHA wrote:
> You could say `1.step {|n| ... }`.
Thank you, I completely forgot it. I think `step` is i...

11/09/2016

10:52 PM Ruby trunk Feature #12913: A way to configure the default maximum width of pp
Akr-san, thank you for your reply.
I agree that it is a better default than the fixed 79.
However, I'd still li...
03:04 PM Ruby trunk Feature #12913 (Feedback): A way to configure the default maximum width of pp
How about having an easy way to configure the maximum width of a line of `pp` output?
Currently, `pp` accepts the ma...
02:57 PM Ruby trunk Feature #12912 (Open): An endless range `(1..)`
Why don't you allow a range without end, like `(1..)`?
There are two advantages. First, we can write `ary[1..]` i...

09/13/2016

03:51 PM Ruby trunk Feature #12752: Unpacking a value from a binary requires additional '.first'
There is more concise way:
length, = str.unpack('C')
You cannot use this in a method chain, though.
I ac...

07/22/2016

09:54 AM Ruby trunk Bug #12611: Issues, reported by PVS-Studio static analyzer
Shyouhei Urabe wrote:
> - Fragment N1: `GetBindingPtr()` is a macro that assigns the argued variable.
It will cau...

07/02/2016

05:24 PM Ruby trunk Feature #12543 (Closed): explicit tail call syntax: foo() then return
How about introducing a new syntax for tail call?
```
def foo()
foo()
end
foo() #=> stack level too deep
``...

06/16/2016

05:04 PM Ruby trunk Feature #12497 (Assigned): GMP version of divmod may be slower
[The benchmark program `pidigits.rb`](https://benchmarksgame.alioth.debian.org/u64q/program.php?test=pidigits&lang=ya...

Also available in: Atom