我想了解一些关于延续的知识,从一些使用方法的文章中输入几个示例,我得到了错误:
NoMethodError: undefined method `callcc' for main:Object
from (pry):2:in `<main>'没有一篇文章提到过包含延续库。那么如何解决这个问题呢?谢谢
编辑:Ruby1.9.2p290 (2011-07-09修订版32553) x86_64-linux
发布于 2011-11-11 13:57:57
来自精细手册
延拓对象是由Kernel#callcc在具有所需的延续后生成的。
发布于 2012-06-05 20:08:29
你需要“继续”。
require 'continuation'https://stackoverflow.com/questions/8092656
复制相似问题