2011-04-01ãã1ã¶æéã®è¨äºä¸è¦§
å®å®ã«å§ã¾ãã¯ããããçµããã¯ãªãã ââç¡é
scanlé¢æ°ã¯ã(a -> b -> a)åã®é¢æ°ã¨ãåæå¤aã¨ãªã¹ã[b]ãä¸ãããã¦ãé çªã«å¼æ°ã«æ¸¡ãããé¢æ°ãé©ç¨ããè¨ç®ããã¦è¨ç®çµæã®ãªã¹ããè¿ãé¢æ°ãfoldlã®è¨ç®ã®ä¸éçµæãéãããªã¹ããè¿ãã¨ã¤ã¡ã¼ã¸ãã¦ãããã°ã scanl :: (a -> b -> a) -> a -> â¦