{"blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","published":"2009-08-10 00:00:01","categories":["Haskell","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"provider_name":"Hatena Blog","type":"rich","version":"1.0","blog_url":"https://mzp.hatenadiary.org/","title":"\u30d5\u30a1\u30a4\u30eb\u3092\u884c\u6570\u5225\u306b\u5206\u985e\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u307f\u308b","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20090810%2Fwc\" title=\"\u30d5\u30a1\u30a4\u30eb\u3092\u884c\u6570\u5225\u306b\u5206\u985e\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u307f\u308b - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"mzp","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e636\u3002\u30d5\u30a1\u30a4\u30eb\u3092\u884c\u6570\u5225\u306b\u5206\u985e\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3057\u3066\u307f\u308b\u3002 \u30b3\u30fc\u30c9\u3092\u66f8\u3044\u3066\u308b\u3068\u3001\u57fa\u672c\u7684\u306b\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u884c\u6570\u306f\u3070\u3089\u3070\u3089\u306b\u306a\u308a\u307e\u3059\u3002 \u3068\u3044\u3046\u308f\u3051\u3067\u3001\u5b9f\u969b\u306b\u3001\u3069\u308c\u304f\u3089\u3044\u3070\u3089\u3051\u3066\u308b\u304b\u3092\u8abf\u3079\u308b\u305f\u3081\u306b\u3001\u884c\u6570\u3054\u3068\u306b\u5206\u985e\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u4f7f\u3044\u65b9 $ wcs *(.) 0-10: 23 10-50: 119 50-100: 15 100-: 158 \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 import System import Control.Arrow countLine :: FilePath -> IO Int countLine path = do content <- readFil\u2026","author_url":"https://blog.hatena.ne.jp/mzp/","height":"190","url":"https://mzp.hatenadiary.org/entry/20090810/wc","width":"100%","image_url":null}