é 延è©ä¾¡ã§ã¯å帰ã®å¹çã¯ã©ããªããã¨ããåé¡ã§ããReal World Haskell ã§ãæ«å°¾å帰ã¯éè¦ã ã¨è¨ã£ãå¾ã«ãé 延è©ä¾¡ã§ã¯æ«å°¾å帰ãªãã¦æ°ã«ãããªã¨ã¡ãã¶å°ãè¿ãã¦ãã¾ãããããã haskell-cafeã§çããè¦ã¤ããã®ã§ãLuke Palmer ããã®è¨±å¯ãå¾ã¦è¨³ãå ¬éãã¾ãã Luke Palmer ããã®èª¬æ ç§ã Haskell ã§ããã°ã©ãã³ã°ããã¨ãã¯ãé常é¢æ°ãæ«å°¾å帰ã«ã¯ãã¾ããã(Int ã Bool ãªã©)æ£æ ¼ãªå¤ã¸ç³ã¿è¾¼ãå ´åãæ«å°¾å帰ã使ãã®ã¯ãããã¨ã§ããããã帰ç´çãªé 延æ§é ãä½æããå ´åãé¢ä¿ããç¨èªã¯ï¼ç§ã®è¨æ¶ãæ£ãããã°ï¼ãä½å帰ã(corecursion)ã§ãã(訳注ï¼mapã¯å帰ãã¤ä½å帰ã ããã§ãããå°éçãããã®ã§æ®éã®å帰ã§ããã¨æãã¾ã)ãæ«å°¾å帰ã¨ã¯ã¾ã£ããç°ãªãã¾ãã ãªã¹ãã«å¯¾ãæ«å°¾å帰㧠map ããé¢æ°ãä¾ã¨ãã¦èãã¾
{{#tags}}- {{label}}
{{/tags}}