General

Profile

stephenprater (Stephen Prater)

  • Login: stephenprater
  • Email: me@stephenprater.com
  • Registered on: 03/01/2015
  • Last sign in: 02/24/2025

Issues

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

Activity

12/04/2024

11:04 PM Ruby Bug #20931: Using `in` as an expression requires extra parentheses
That works for me - thanks for the explanation. stephenprater (Stephen Prater)
09:36 PM Ruby Bug #20931 (Rejected): Using `in` as an expression requires extra parentheses
TBH - I'm not sure if this is a bug or not - but it certainly surprising behavior and I'd at least like to understand it.
Given a hash t - that can be pattern matched: `t = {a: 1, b:1 }`
``` ruby
r = t in {a: 1, c:1 } # returns `f...
stephenprater (Stephen Prater)

03/01/2015

02:52 AM Ruby Feature #10548: remove callcc (Callcc is now going obsoleted. Please use Fiber.)
I agree with Yusuke.
I'd be sorry to see it go - it does some neat tricks that are a lot harder to pull off with Fibers.
Here for instance is a PoC reversible debugger: https://gist.github.com/stephenprater/ca312d24578455f36550
...
stephenprater (Stephen Prater)

Also available in: Atom