{"author_name":"sirocco","author_url":"https://blog.hatena.ne.jp/sirocco/","description":"import Char (isDigit) toHanDigit :: String -> String toHanDigit = toDigit.zenToHan -- \u6570\u5b57\u4ee5\u5916\u306f\u7121\u8996\u3057\u307e\u3059\u3002 toDigit :: String -> String toDigit [] = [] toDigit (x:xs) = if isDigit x then x:toDigit xs else toDigit xs zenToHan :: String -> String zenToHan s = tr \"\uff10\uff11\uff12\uff13\uff14\uff15\uff16\uff17\uff18\uff19\" \"0123456789\" s -- http://d.hatena.ne\u2026","width":"100%","published":"2010-09-10 16:35:33","image_url":null,"title":"\u5168\u89d2\u6587\u5b57\u5217\u3092\u534a\u89d2\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u3002","provider_url":"https://hatena.blog","categories":["Haskell"],"blog_url":"https://sirocco.hatenadiary.org/","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20100910%2F1284104133\" title=\"\u5168\u89d2\u6587\u5b57\u5217\u3092\u534a\u89d2\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u3002 - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","type":"rich","url":"https://sirocco.hatenadiary.org/entry/20100910/1284104133","height":"190"}