Applicative ããã Monad ã®æ¹ãåãå¼·ãçç±ãèããããã®ã¡ã¢ãããããè°è«ããããã®ãããå°ãªã®ã§ãããæã£ã¦èªãã§æ¬²ããã ã³ã³ããã§å ã return Monad ã¨ã¯ãã³ã³ããã§ãããã³ã³ããã¯ãæèã表ãããã¨ãã°ãMaybe ã¨ããã³ã³ããã¯ã失æãããããããªãè¨ç®ã¨ããæèã表ãã é常ã®å¤ãé¢æ°ãæèã«å ¥ããããã® API ã return ã§ããã return :: a -> ma ã³ã³ããå ã§ã®é¢æ°é©ç¨ <*> 以ä¸ã®ãããªåãæã¤é¢æ°ãèããã f :: a -> b ãã®é¢æ°ã return ã使ã£ã¦æèã®ä¸ã«å ¥ãã¦ããã¨ãåã¯æ¬¡ã®ããã«ãªãã return f :: m (a -> b) ãã®é¢æ°ããã³ã³ããå ã«ããå¤ã«é©å¿ããããã® API ã (<*>) ã§ããã (<*>) :: m (a -> b) -> m a -> m b ã³ã³ã
{{#tags}}- {{label}}
{{/tags}}