{"blog_title":"Arantium Maestum","author_url":"https://blog.hatena.ne.jp/zehnpaard/","provider_url":"https://hatena.blog","title":"Hindley Milner\u578b\u63a8\u8ad6\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\uff18 Fix\u306e\u8ffd\u52a0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F11%2F10%2F211719\" title=\"Hindley Milner\u578b\u63a8\u8ad6\u306b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\uff18 Fix\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>","provider_name":"Hatena Blog","published":"2022-11-10 21:17:19","height":"190","categories":["OCaml","\u578b\u7406\u8ad6","\u8a00\u8a9e\u51e6\u7406\u7cfb"],"url":"https://zehnpaard.hatenablog.com/entry/2022/11/10/211719","type":"rich","image_url":null,"blog_url":"https://zehnpaard.hatenablog.com/","version":"1.0","width":"100%","author_name":"zehnpaard","description":"\u518d\u5e30\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306eFix\u30aa\u30da\u30ec\u30fc\u30bf\u3092\u8a00\u8a9e\u306b\u8ffd\u52a0\u3059\u308b\u3002 \u578b\u63a8\u8ad6\u306a\u3057\u3067\u8ffd\u52a0\u3057\u305f\u6642\u306e\u8a18\u4e8b\u306f\u3053\u308c\uff1a zehnpaard.hatenablog.com Fix\u306e\u4f7f\u3044\u65b9\u306a\u3069\u306f\u3053\u306e\u8a18\u4e8b\u3092\u53c2\u7167\u3057\u3066\u307b\u3057\u3044\u3002 \u4eca\u56de\u306e\u30b3\u30fc\u30c9\u306f\u3053\u3053 \u578b \u578b\u306b\u306f\u5909\u66f4\u306a\u3057\u3002 \u5f0f Fix\u5f0f\u3092\u8ffd\u52a0\uff1a type exp = ... | EFix of exp EFix\u5f0f\u306f\u5225\u306e\u5f0f\u3092\u4e00\u3064\u4fdd\u6301\u3059\u308b\u3002\u3053\u306e\u5225\u306e\u5f0f\u3068\u3044\u3046\u306e\u306f\uff1a ff = lambda ie : (Nat -> Bool). lambda x : Nat. if iszero x then true else if iszero (pred x) then false else ie\u2026"}