{"blog_title":"\u3042\u3069\u3051\u306a\u3044\u8a71","description":"Haskell \u306e\u4ee3\u6570\u30c7\u30fc\u30bf\u578b\u3067\u4f7f\u308f\u308c\u308b\u30c7\u30fc\u30bf\u69cb\u7bc9\u5b50\u306f\u3001\u5b9f\u306f\u95a2\u6570\u3068\u540c\u69d8\u306b\u6271\u3048\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u56db\u5247\u6f14\u7b97\u306e\u5f0f\u3092\u8868\u3059\u4ee3\u6570\u30c7\u30fc\u30bf\u578b\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3057\u305f\u3068\u3057\u307e\u3059\u3002 data Expr = C Int | Add Expr Expr | Sub Expr Expr | Mul Expr Expr | Div Expr Expr deriving Show \"1 + 2\" \u306f \"Add (C 1) (C 2)\" \u3068\u8868\u73fe\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u5f0f\u3092\u8a55\u4fa1\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 Add (C 1) (C 2) \u2192 Add (C 1) (C 2) \u5f53\u305f\u308a\u524d\u3067\u3059\u304c\u3001\u305d\u306e\u3082\u306e\u304c\u8fd4\u3063\u3066\u304d\u307e\u3059\u3002\u8a71\u306f\u5909\u308f\u308a\u307e\u3059\u304c\u3001add \u3068\u3044\u3046\u95a2\u6570\u3092\u7d20\u76f4\u2026","published":"2009-02-04 16:35:39","height":"190","image_url":null,"categories":["Haskell"],"url":"https://kazu-yamamoto.hatenablog.jp/entry/20090204/1233732939","blog_url":"https://kazu-yamamoto.hatenablog.jp/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kazu-yamamoto/","version":"1.0","width":"100%","author_name":"kazu-yamamoto","title":" Haskell \u306e\u30c7\u30fc\u30bf\u69cb\u7bc9\u5b50","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkazu-yamamoto.hatenablog.jp%2Fentry%2F20090204%2F1233732939\" title=\" Haskell \u306e\u30c7\u30fc\u30bf\u69cb\u7bc9\u5b50 - \u3042\u3069\u3051\u306a\u3044\u8a71\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","type":"rich"}