{"title":"Data.HashTable \u3092\u4f7f\u3063\u3066\u307f\u308b","version":"1.0","width":"100%","blog_url":"https://sirocco.hatenadiary.org/","published":"2010-11-29 06:38:05","provider_url":"https://hatena.blog","categories":["Haskell"],"author_url":"https://blog.hatena.ne.jp/sirocco/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20101129%2F1290980285\" title=\"Data.HashTable \u3092\u4f7f\u3063\u3066\u307f\u308b - 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>","type":"rich","url":"https://sirocco.hatenadiary.org/entry/20101129/1290980285","height":"190","provider_name":"Hatena Blog","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","author_name":"sirocco","description":"Data.HashTable \u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002 > :m + Data.HashTable -- (==) : \u6bd4\u8f03\u3059\u308b\u95a2\u6570 -- hashString : Hash \u5024\u3092\u8a08\u7b97\u3059\u308b\u95a2\u6570 > h <- new (==) hashString :: IO (HashTable String [(Int,String)]) -- \u9069\u5f53\u306a\u30ad\u30fc\u3067\u9069\u5f53\u306a\u5024\u3092\u5165\u308c\u3066\u307f\u308b\u3002 > insert h \"abc\" [(123,\"456\")] > Data.HashTable.lookup h \"abc\" --=> Just [(123,\"456\")] > Data.HashTable.lookup h \"abcf\"\u2026","image_url":null}