General

Profile

garysweaver (Gary Weaver)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 2 6 8

Activity

01/25/2015

04:24 PM Ruby master Feature #10782 (Assigned): Patch: Add constants for BigDecimal for ZERO, ONE, TEN
We found with use of BigDecimal that we were often needing to compare BigDecimal with zero or initialize BigDecimal a... garysweaver (Gary Weaver)

11/18/2014

03:49 PM Ruby master Feature #10523: Suggestion for new Array.delete_to method
Oops, in that last code example, I meant: a.delete_to(b). garysweaver (Gary Weaver)
03:44 PM Ruby master Feature #10523 (Rejected): Suggestion for new Array.delete_to method
Array's delete and delete_at return the deleted item from an array, so it would seem as though Array should allow som... garysweaver (Gary Weaver)

11/28/2013

07:43 AM Ruby master Bug #9114: InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
Eric,
My apologizes as I probably wasted your time with that. The problem with the code you posted is that for TCO y...
garysweaver (Gary Weaver)

11/16/2013

02:55 AM Ruby master Bug #9114: InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
btw- that method is incorrect, and when I wrote a better/working method, now it doesn't have that error in 2.0.0p247 ... garysweaver (Gary Weaver)
02:38 AM Ruby master Bug #9114 (Rejected): InstructionSequence.compile w/tailcall_optimization: true, trace_instruction: false not working as expected
Code to reproduce is a recursive sort I wrote; I was trying to compile RubyVM::InstructionSequence with tailcall_opti... garysweaver (Gary Weaver)

04/12/2013

04:11 AM Ruby master Feature #8168: Feature request: support for (single) statement lambda syntax/definition
Oops except then they are symbols. Darn, too much to worry about... garysweaver (Gary Weaver)
04:11 AM Ruby master Feature #8168: Feature request: support for (single) statement lambda syntax/definition
Thinking about it a bit more, I guess it would have to be context sensitive. Just some character that is parsed when ... garysweaver (Gary Weaver)
03:47 AM Ruby master Feature #8168: Feature request: support for (single) statement lambda syntax/definition
@matz, You know best. :) !! I know that this request varies a bit when you consider that stab is a function call, but... garysweaver (Gary Weaver)

03/27/2013

03:34 AM Ruby master Feature #8168: Feature request: support for (single) statement lambda syntax/definition
So, redefining the proposal somewhat, '-> an_expression' or '->> an_expression' would be a shortcut for '-> {an_expre... garysweaver (Gary Weaver)

Also available in: Atom