Promiseã£ã¦ãªãã¨ãªãã¢ããã£ã½ããªã¨æã£ã¦ãã¸ã§ãã¬ã¼ã¿ä½¿ã£ã¦Haskellã®doãåç¾ã§ããªãããªãã¨ããã®ãã¯ãã¾ããçµè«ããããã¨ãã§ããªãã ããããPromiseãã¢ããã§ããããèããã return :: Monad m => a -> m a å¤ãåãåã£ã¦fulfilledãããPromiseãè¿ããã®ã Promise.fulfill / Promise.resolveãããã«ãããã Promise.mreturn = Promise.fulfill || Promise.resolve; >>= :: Monad m => m a -> (a -> m b) -> m b bindã¨ãå¼ã°ãããããããã®é¢æ°ã«ãå¤ãåãåã£ã¦ã¢ãããè¿ãé¢æ°ã渡ãã¨ããã®å¤ãçµæã«ãªãã Promise.prototype.mbind = Promise.prototype
{{#tags}}- {{label}}
{{/tags}}