{"width":"100%","blog_title":"Arantium Maestum","url":"https://zehnpaard.hatenablog.com/entry/2022/10/06/082849","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_url":"https://zehnpaard.hatenablog.com/","published":"2022-10-06 08:28:49","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F10%2F06%2F082849\" title=\"\u7c21\u5358\u306a\u578b\u30b7\u30b9\u30c6\u30e0\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304f\uff14\u3000STLC + Bool + Nat - 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>","version":"1.0","categories":["OCaml","\u578b\u7406\u8ad6","\u8a00\u8a9e\u51e6\u7406\u7cfb"],"title":"\u7c21\u5358\u306a\u578b\u30b7\u30b9\u30c6\u30e0\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304f\uff14\u3000STLC + Bool + Nat","height":"190","type":"rich","author_url":"https://blog.hatena.ne.jp/zehnpaard/","author_name":"zehnpaard","image_url":null,"description":"\u524d\u56de\u306eSTLC+Bool\u306b\u81ea\u7136\u6570\u3068\u95a2\u9023\u3059\u308b\u6a5f\u80fd\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304f\u3002 gist.github.com \u578b TNat\u3068\u3044\u3046\u81ea\u7136\u6570\u3092\u8868\u3059\u578b\u3092\u8ffd\u52a0\uff1a type ty = ... | TNat \u5f0f \u4e09\u7a2e\u985e\u306e\u5f0f\u3092\u8ffd\u52a0\uff1a type exp = ... | ENat of int | EAdd of exp * exp | EIsZero of exp \u81ea\u7136\u6570\u30ea\u30c6\u30e9\u30eb\u3092\u8868\u3059ENat of int\uff08\u5b9f\u306fint\u3092\u3068\u308b\u306e\u3067\u81ea\u7136\u6570\u3058\u3083\u306a\u3044\u30fb\u30fb\u30fb Zero\u3068Succ\u306b\u3057\u3066\u3082\u3088\u304b\u3063\u305f\u3093\u3060\u3051\u3069\u3081\u3093\u3069\u304f\u3055\u3044\u3057\u5b9f\u969b\u3053\u3093\u306a\u5b9f\u88c5\u306b\u3057\u3066\u308b\u8a00\u8a9e\u306f\u307b\u307c\u306a\u3044\u306b\u7b49\u3057\u3044\u306e\u3067\u30fb\u30fb\u30fb\uff09 \u81ea\u7136\u6570\u540c\u58eb\u306e\u8db3\u3057\u7b97\u3092\u8868\u3059EAdd of exp * exp \u81ea\u7136\u2026"}