2013-10-03 éå®ç¶ç¶ã®(ããããããããã(ãããããªã))解説 ** ãã®è¨äºã¯mrubyã§éå®ç¶ç¶(shift/reset)ãå®è£ ãã話ã®ä¸é¨ã§ã éå®ç¶ç¶ã¨ã¯ä¸è¬åãããç¶ç¶ã®ãããªãã®ã§ãåãåãã¹ã¿ãã¯ã®åºãæå®ã§ããcallccã®ãããªãã®ã§ããã¨ãã£ã¦ããããã£ã¦è¨èã並ã¹ã¦ããã ãã ã¨ä½ãè¨ã£ã¦ãããå ¨ãããããªãã¨æãã®ã§ããããå ·ä½çã«èª¬æãã¦ããã¾ãã éå®ç¶ç¶ã«ã¯ããã¤ã種é¡ããããã§ãããã¨ããããä»ã¯shift/resetã¨ããäºã¤ã®æ¼ç®å(äºã¤ã§ä¸ã¤ã®ãã¢ã§ã)ã説æãã¾ãã 説æã§ä½¿ã£ã¦ããAPI mruby-partcontã®ä»¥ä¸ã®APIã使ã£ã¦ãã¾ãã class Continuation self[*ret] -> value call(*ret) -> value Kernel.#reset Kernel.#shift reset rese
{{#tags}}- {{label}}
{{/tags}}