call/cc ã使ã£ã¦ç°¡å㪠Coroutine ãä½ãã¾ããcall/cc å ¥éã ã¨æã£ã¦ããããã°å¹¸ãã§ãã coroutine ã¨ã¯ ããã§ã¯ coroutine ããå®è¡ã®éä¸ã§ãªã¿ã¼ã³ã§ããããã«ãã(å®è¡ã®éä¸)ããåéãããã¨ãåºæ¥ãä½ããã®æå³ã§ä½¿ç¨ãã¾ããé©å½ãªçä¼¼è¨èªã§æ¸ãã¨æ¬¡ã®éããé¢æ°ã®éä¸ã§ã®ãªã¿ã¼ã³ã suspend(), éä¸ããã®åéã resume() ã§è¡¨ããã¨ã«ãã¾ãã ããã§ã¯ãããã scheme ã® call/cc ãç¨ãã¦è¡¨ããã¨ãç®æãã¾ãã call/cc ã¨ã¯ call/cc ã¨ã¯ãcall-with-current-continuation ã¨ãã scheme ã®é¢æ°ã§ããç¾å¨ã®ç¶ç¶(current continuation)ãçæãããããé¢æ°ã«æ¸¡ãã¦ãã®é¢æ°ãå®è¡ããããã®ã§ããèªè ã®æ®ã©ã¯ãç¶ç¶ãã«ã¤ãã¦ããç¥ã£ã¦ãããããã
{{#tags}}- {{label}}
{{/tags}}