{"image_url":null,"categories":["Haskell"],"description":"data Person = Person { name :: String, age :: Int} instance Eq Person where (Person name1 age1) == (Person name2 age2) = (name1 == name2) && (age1 == age2) instance Show Person where show (Person name age) = \"Person name=\" ++ name ++ \" age=\"++(show age) Prelude> :load person.hs [1 of 1] Compiling Ma\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20090617%2F1245246932\" title=\"\u69cb\u9020\u4f53\u306e\u3088\u3046\u306a\u578b\u3092\u5b9a\u7fa9\u3057\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>","blog_url":"https://sirocco.hatenadiary.org/","url":"https://sirocco.hatenadiary.org/entry/20090617/1245246932","provider_url":"https://hatena.blog","version":"1.0","type":"rich","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","provider_name":"Hatena Blog","title":"\u69cb\u9020\u4f53\u306e\u3088\u3046\u306a\u578b\u3092\u5b9a\u7fa9\u3057\u3066\u307f\u308b","height":"190","author_name":"sirocco","author_url":"https://blog.hatena.ne.jp/sirocco/","width":"100%","published":"2009-06-17 22:55:32"}