{"title":"Haskell\u7d9a\u304d","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnishiohirokazu.hatenadiary.org%2Fentry%2F20081024%2F1224869072\" title=\"Haskell\u7d9a\u304d - \u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","url":"https://nishiohirokazu.hatenadiary.org/entry/20081024/1224869072","published":"2008-10-24 02:24:32","blog_title":"\u897f\u5c3e\u6cf0\u548c\u306e\u306f\u3066\u306a\u30c0\u30a4\u30a2\u30ea\u30fc","provider_name":"Hatena Blog","categories":[],"author_url":"https://blog.hatena.ne.jp/nishiohirokazu/","version":"1.0","author_name":"nishiohirokazu","blog_url":"https://nishiohirokazu.hatenadiary.org/","description":"\u7720\u3055\u3092\u901a\u308a\u8d8a\u3057\u3066\u30cf\u30a4\u306b\u306a\u3063\u3066\u304d\u305f\u3002 id:ujihisa progress_turn\u304c[Int]\u3092\u8fd4\u3059\u306e\u306f\u59a5\u5f53\u306a\u306e\u304b\u306a\u3042\u3002(Int, Int, Int)\u306e\u304c\u3044\u3044\u304d\u304c\u3002 data Score = Score Int Int Int deriving Show add :: Score -> Score -> Score add (Score x y z) (Score a b c) = (Score (x + a) (y + b) (z + c)) main = print $ (Score 1 2 3) `add` (Score 0 3 0) \u3053\u3093\u306a\u306e\u306b\u3057\u305f\u3002","height":"190","type":"rich","image_url":null}