{"blog_title":"$ cat /var/log/shin","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshin.hateblo.jp%2Fentry%2F2012%2F08%2F20%2F162226\" title=\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Haskell\u3092\u8aad\u3080(8)  - $ cat /var/log/shin\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"s-shin","published":"2012-08-20 16:22:26","description":"\u4e45\u3005\u306e\u66f4\u65b0\u3067\u3059\u3002\u3053\u306e\u7ae0\u306f\u304b\u306a\u308a\u304d\u3064\u3044\u3067\u3059\u3002\u4ee5\u4e0b\u3092\u7406\u89e3\u3059\u308b\u307e\u3067\u306b3\u56de\u3050\u3089\u3044\u6295\u3052\u3066\u307e\u3059\u3002 \u7b2c8\u7ae0 \u95a2\u6570\u578b\u30d1\u30fc\u30b5\u30fc \u57fa\u672c \u5b9f\u969b\u306b\u52d5\u304b\u3059\u3053\u3068\u304c\u3067\u304d\u305f\u6240\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8f09\u305b\u307e\u3059\u3002 import Char type Parser a = String -> [(a, String)] -- \u5165\u529b\u3092\u305d\u306e\u307e\u307e\u51fa\u529b\u306b\u3059\u308b\u30d1\u30fc\u30b5\u3092\u751f\u6210\u3059\u308b\u95a2\u6570 -- \u30c6\u30ad\u30b9\u30c8\u3067\u306freturn ret :: a -> Parser a ret v = \\inp -> [(v, inp)] -- \u5fc5\u305a\u5931\u6557\u3059\u308b\u30d1\u30fc\u30b5 failure :: Parser a failure = \\inp -> [] -- \u5165\u529b\u304c\u7a7a\u306a\u3089\u5931\u6557\u3002 -- \u305d\u3046\u3067\u2026","categories":["Programming","Haskell"],"version":"1.0","provider_name":"Hatena Blog","blog_url":"https://shin.hateblo.jp/","provider_url":"https://hatena.blog","url":"https://shin.hateblo.jp/entry/2012/08/20/162226","type":"rich","image_url":null,"width":"100%","author_url":"https://blog.hatena.ne.jp/s-shin/","title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0Haskell\u3092\u8aad\u3080(8) "}