General

Profile

Sarwen (Christophe Calves)

  • Login: Sarwen
  • Email: calves@crans.org
  • Registered on: 03/19/2009
  • Last sign in: 03/19/2009

Issues

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

Activity

03/20/2009

11:44 PM Ruby Bug #1302: Strange behavior of callcc
=begin
Hi

Thank you very much. I realized some tests that show what's going on. The code runs the above code with 5 different impelementations of Array.map. When i did the first test, i made the assertion that, on contrary to array.m...
Sarwen (Christophe Calves)
01:32 AM Ruby Bug #1302: Strange behavior of callcc
=begin
I just tried on ruby 1.8

# ruby -v
ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux]

There is the same bug.
=end
Sarwen (Christophe Calves)
01:27 AM Ruby Bug #1302: Strange behavior of callcc
=begin
I did the same code in scheme. I tried under drscheme and petite-chez-scheme, both give the same result:

x1 = (1)
x2 = (2)
x3 = (3)

as expected.


To run the code:

petite --script testcallcc.scm

=end
Sarwen (Christophe Calves)

03/19/2009

04:36 AM Ruby Bug #1302 (Rejected): Strange behavior of callcc
=begin
The code runs "[0].map" with a block which uses callcc to stop the execution of map and return the continuation. Later this continuation is called three times with three different values. The expected behavior is that these calls...
Sarwen (Christophe Calves)

Also available in: Atom