{"image_url":null,"categories":["OCaml","\u578b\u7406\u8ad6","\u8a00\u8a9e\u51e6\u7406\u7cfb"],"provider_name":"Hatena Blog","description":"\u524d\u56de\u306eBool\u306b\u7d9a\u3044\u3066Int\u578b\u3068\u305d\u308c\u306b\u95a2\u9023\u3059\u308b\u5f0f\u3067\u3042\u308bInt\u30ea\u30c6\u30e9\u30eb\u3001Add\u3068IsZero\u3092\u5b9f\u88c5\u3059\u308b\u3002 \u578b Int\u578b\u306e\u8ffd\u52a0\uff1a type ty = ... | TInt \u5f0f Int\u30ea\u30c6\u30e9\u30eb\u3001Add\u3001IsZero\u3092\u8ffd\u52a0\uff1a type exp = ... | EInt of int | EAdd of exp * exp | EIsZero of exp Add\u306fInt\u578b\u306e\u5f0f\u4e8c\u3064\u3092\u3068\u3063\u3066\u8db3\u3057\u305f\u7d50\u679c\u306eInt\u578b\u306a\u5024\u3092\u8fd4\u3059\u3002 IsZero\u306f\u3042\u308bInt\u578b\u306e\u5f0f\u306e\u5024\u304c0\u304b\u3069\u3046\u304b\u3092Bool\u578b\u306e\u5024\u3068\u3057\u3066\u8fd4\u3059\u3002 typeof \u8ffd\u52a0\u3057\u305f\u4e09\u3064\u306e\u5f0f\u306e\u30d1\u30bf\u30fc\u30f3\u3092\u300c\u578b\u63a8\u8ad6\u30fb\u578b\u691c\u67fb\u3092\u884c\u3046\u5927\u5143\u306e\u95a2\u6570\u300dtypeof\u306b\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3002 \u307e\u2026","title":"Hindley Milner\u578b\u63a8\u8ad6\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\uff13 Int\u578b\u306e\u8ffd\u52a0","provider_url":"https://hatena.blog","blog_title":"Arantium Maestum","url":"https://zehnpaard.hatenablog.com/entry/2022/11/05/191642","version":"1.0","published":"2022-11-05 19:16:42","blog_url":"https://zehnpaard.hatenablog.com/","width":"100%","author_url":"https://blog.hatena.ne.jp/zehnpaard/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F11%2F05%2F191642\" title=\"Hindley Milner\u578b\u63a8\u8ad6\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\uff13 Int\u578b\u306e\u8ffd\u52a0 - Arantium Maestum\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","type":"rich","author_name":"zehnpaard"}