{"width":"100%","height":"190","title":"\u8a08\u7b97\u6a5f\u3001\u306e\u30d1\u30fc\u30b5","blog_title":"\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5","blog_url":"https://blog.emattsan.org/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20070411%2F1176300879\" title=\"\u8a08\u7b97\u6a5f\u3001\u306e\u30d1\u30fc\u30b5 - \u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u7684\u611b\u60c5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","url":"https://blog.emattsan.org/entry/20070411/1176300879","categories":["Haskell"],"provider_url":"https://hatena.blog","description":"Parsec\u3092\u4f7f\u3063\u3066\u30d1\u30fc\u30b5\u3092\u4f5c\u3063\u3066\u307f\u308b\u3002\u4eca\u306e\u3068\u3053\u308d\u5358\u7d14\u306b\u8981\u7d20\u3092\u8aad\u307f\u51fa\u3057\u305f\u3060\u3051\u3002Elem\u306e\u5b9a\u7fa9\u306f\u6628\u65e5\u3068\u4e00\u7dd2\u3002 import Text.ParserCombinators.Parsec -- \u6570\u5024\u30d1\u30fc\u30b5 number :: Parser Elem number = do ds <- many1 digit return $ Value $ read ds -- \u6f14\u7b97\u5b50\u30d1\u30fc\u30b5 plus = do { char '+'; return Plus } minus = do { char '-'; return Minus } times = do { char '*'; return Times } d\u2026","version":"1.0","author_url":"https://blog.hatena.ne.jp/E_Mattsan/","published":"2007-04-11 23:14:39","author_name":"E_Mattsan"}