General

Profile

jphelps (Jeremy Phelps)

  • Login: jphelps
  • Registered on: 05/13/2017
  • Last sign in: 12/03/2018

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

06/26/2017

01:34 AM Ruby Feature #10771: An easy way to get the source location of a constant
Ok, then here's my patch. I called the method "const_source_location" instead of "constant_source_location", because it uses a lot of the same code as "const_get".
I don't have access to edit the wiki page.
jphelps (Jeremy Phelps)

06/25/2017

09:08 AM Ruby Feature #10771: An easy way to get the source location of a constant
I've got a patch ready for this, but I have no idea how to submit it. There are serious contradictions in this page:
https://bugs.ruby-lang.org/projects/ruby/wiki/HowToContribute
It says that the changes should be against "the trun...
jphelps (Jeremy Phelps)

05/13/2017

07:40 PM Ruby Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
Eregon, I have no idea what you're talking about. All the examples of Fiber usage over on ruby-doc.org shows identical behavior to Python's yield statement. The only difference is that in Python, "resume" is spelled "next", and you can i... jphelps (Jeremy Phelps)
10:32 AM Ruby Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
I just learned that Ruby has continuations. Then I learned that they're considered obsolete, and "instead" we're supposed to use a feature (basically just Python's yield statement) that has zero use cases in common with continuations.
jphelps (Jeremy Phelps)

Also available in: Atom