Compatibility is essential in Ruby. So, we need strong evidence when we break it. I do not think the current behavior is weird. `<something>.abs` returns positive value, consistently. A programmer who knows `-i.abs` is evaluated...spinute (Satoru Horie)
Hello, everyone. I want to help to merge these excellent results into trunk. I’m now reviewing both codes, and trying to consider other benchmarks to provide more solid evidence toward merge and to compare three implementations. F...spinute (Satoru Horie)
I added some test cases for Array#concat, String#concat and String#prepend and refined error handling. Also, I fixed my code to conform to convention. Any feedback is welcome!spinute (Satoru Horie)
I wrote another patch refined for a problem stated in a previous post. It behaves like below ~~~ ar = [1] ar.concat(ar, ar) #=> [1,1,1] str = "ab" str.concat(str, str) #=> "ababab" ~~~spinute (Satoru Horie)
I have written a patch. And, there are some points to ask * What is the appropriate behavior when calling concat/prepend without argument? * The code attached now returns just self * What should happen when writing ar.concat(a...spinute (Satoru Horie)