{"published":"2014-04-19 00:00:00","author_url":"https://blog.hatena.ne.jp/liephia/","provider_url":"https://hatena.blog","type":"rich","url":"https://penzant.hatenadiary.com/entry/2014/04/19/000000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpenzant.hatenadiary.com%2Fentry%2F2014%2F04%2F19%2F000000\" title=\"OCaml\u306e\u4e8c\u9032\u6570\u8868\u73fe\u3063\u307d\u3044\u3082\u306e - Reproc.pnz\" 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","description":"ocaml\u3067\u4e8c\u9032\u8868\u73fe\u306e\u578b\u5b9a\u7fa9\u3069\u3046\u3059\u308b\u306e\u3063\u3066\u3050\u3050\u3063\u3066\u3082\u305d\u308c\u3089\u3057\u3044\u89e3\u8aac\u304c\u3064\u3044\u3066\u308b\u306e\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u3093\u3060\u3051\u3069\u3001\u3084\u3063\u3071\u308a\u8003\u3048\u306c\u3044\u3066\uff08\u30a2\u30cb\u30e1\u898b\u306a\u304c\u30893\u6642\u9593\u304f\u3089\u3044\u8003\u3048\u305f\uff09\u4ee5\u4e0b\u306e\u7d50\u8ad6\u306b\u81f3\u3063\u305f\u3002 type bnats = X | Y of bnats | Z of bnats type bnat = A | B of bnats 0 = A 1 = B X 11 = B (Y X) 101011 = B (Y (Y (Z (Y (Z X))))) \u3068\u308a\u3042\u3048\u305a\u4e8c\u9032\u8868\u73fe\u3068\u578b\u8868\u73fe\u306e\u6841\u306e\u9806\u5e8f\u306f\u9006\u306b\u306a\u3063\u3066\u3044\u3066\u3001A\u306f\u5024\u3068\u3057\u3066\u306e0\u3001X\u306f\u4e00\u756a\u4e0a\u306e\u6841\u306e1\u3001Y\u306f\u9014\u4e2d\u306e\u6841\u306e1\u3001Z\u306f\u9014\u4e2d\u306e\u6841\u306e0\u3068\u3044\u3046\u611f\u3058\u3002B\u306fbnats\u3092\u5f15\u304d\u53d7\u3051\u2026","image_url":null,"blog_title":"Reproc.pnz","blog_url":"https://penzant.hatenadiary.com/","height":"190","width":"100%","categories":["OCaml","Programming"],"title":"OCaml\u306e\u4e8c\u9032\u6570\u8868\u73fe\u3063\u307d\u3044\u3082\u306e","author_name":"liephia","version":"1.0"}