ã¯ããã« Haskellçã§ã¢ããã¨ããæ¦å¿µã«è§¦ãã¦ãããã¨ãåæã¨ãã¾ãã ã¾ããã®è¨äºã§ã¯åè«ã®åºç¤çãªç¥èãä»®å®ãã¾ã (ã¯ã©ã¤ã¹ãªåã¨ãã¢ãã¤ã対象ã¨ãããç¨èªã¯åºã¦ããªãããå®å¿ãã¦ï¼)ã ç§èªèº«ã¯æ å ±ç³»åºèº«ã§ã¯ãªããããè¨ç®æ©ç§å¦ã«ã¤ãã¦ã¯è©³ããããã¾ãããããã¾ã§èªåãªãã®ç解ãè¨ããã«éããªããã¨ããäºæ¿ãã ããã åèæç® åè«ã®æ©ãæ¹ ãã®æ¬ã§ã¯ã§ã¯åè«ãååéã§ã©ããªãµãã«ä½¿ããã¦ããããããã£ã¨è§£èª¬ããã¦ãã¾ãã 第5ç« ã¯ãã¢ããã¨è¨ç®å¹æãã¨ããã¿ã¤ãã«ã§æ¸ããã¦ãã¾ãã ã¢ããåã¨ã¯ Haskell ã«ãããåã¯ã©ã¹ Monad ã¨ã¯æ¬¡ã®ãããªãã®ã§ãã class Monad m where (>>=) :: forall a b. m a -> (a -> m b) -> m b return :: a -> m a ãã ã 2 ã¤ã®é¢æ° (>>=) 㨠r
{{#tags}}- {{label}}
{{/tags}}