ActionsLike0
Bug #1302
closedStrange behavior of callcc
Description
=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 should result in three different computations. Each computation being the mapping with the corresponing value. Instead, the result is very strange.
=end
Files
Updated by Sarwen (Christophe Calves) about 16 years ago
- File testcallcc.scm testcallcc.scm added
Updated by Sarwen (Christophe Calves) about 16 years ago
- File callcctest_demo_map.rb callcctest_demo_map.rb added
ActionsLike0