Haskellã®Continuationã¢ãããé°å²æ°ã ãGaucheã«ç§»æ¤ãã¦ã¿ãã Contã¯ã©ã¹ ã¾ããçä¼¼Continuationã¢ããã¨ãã¦ãContã¯ã©ã¹ãä½ãã Contã¯ã©ã¹ãæã¤runContã¹ãããã¯ååã®getteré¢æ°ãæã¤ã returnã¯å ¨ç¶ã¸ã§ããªãã¯ãã¡ã³ã¯ã·ã§ã³ã«ãªã£ã¦ãªããã ãã©ã>>=ã¨æ¨ªä¸¦ã³ã«ãããã£ãã®ã§ã (define-class <Cont> () ((runCont :init-keyword :r :getter runCont))) (define-method return (a) (make <Cont> :r (lambda (k) (k a)))) (define-method >>= ((c <Cont>) f) (make <Cont> :r (lambda (k) ((runCont c) (lambda (a) ((ru
{{#tags}}- {{label}}
{{/tags}}