2011-02-01ãã1ã¶æéã®è¨äºä¸è¦§
F# ã® |> æ¼ç®åããã£ãããã®ã§ãHaskell ã§ä½ã£ã¦ã¿ãã infixl 0 |> (|>) :: a -> (a -> b) -> b a |> f = f a 以ä¸ã®ããã«ã·ã§ã«ã®ãã¤ãã®ãããªæãã§ä½¿ãã foo :: String foo = [1..100] |> map (*2) |> filter (\x -> x `mod` 6 == 0) |> sum |> â¦
é·å¹´ã®çåã®çãã Enumerator ã ã£ããä»æ¥ã¯ãããªã話ã§ãã findãå®è£ ãã Real World Haskell ã®ç¬¬9ç« ã« UNIX ã® find ã³ãã³ããä½ãä¾ãããã¾ããæåã¯å®ç´ã«å®è£ ãã¦ã¿ã¾ããããã¾ãããã£ã¬ã¯ããªã®å 容ãå¾ãè£å©é¢æ°ã¨ããã£ã¬ã¯ããªã辿ãâ¦
Enumerator Package - Yet Another Iteratee Tutorialã¯ãIteratee: åæãã¼ã¹ã®I/Oããã¯åãããããã®ã§ããããã£ã±ãããåããã¾ããããªããªããåã¯ä½¿ãæ¹ãç¥ãããã®ã«ãä½ãæ¹ãæ¸ãã¦ããããã§ããããã§ãEnumerator ã©ã¤ãã©ãªã®ä½¿ãæ¹ãç°¡â¦