{"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/zehnpaard/","version":"1.0","type":"rich","published":"2022-03-14 01:36:07","title":"\u6761\u4ef6\u5206\u5c90\u306e\u3042\u308b\u8a00\u8a9e\u306eA\u6b63\u898f\u5316","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F03%2F14%2F013607\" title=\"\u6761\u4ef6\u5206\u5c90\u306e\u3042\u308b\u8a00\u8a9e\u306eA\u6b63\u898f\u5316 - 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_url":"https://hatena.blog","height":"190","author_name":"zehnpaard","description":"\u524d\u56de\u306b\u7d9a\u3044\u3066A\u6b63\u898f\u5316\u306e\u8a71\u3002\u524d\u56de\u306e\u30df\u30cb\u30de\u30eb\u306a\u8a00\u8a9e\u306b\u30d6\u30fc\u30eb\u578b\u3068if\u306b\u3088\u308b\u6761\u4ef6\u5206\u5c90\u3092\u52a0\u3048\u308b\u3002\u5b9f\u306f\u6761\u4ef6\u5206\u5c90\u306e\u6b63\u3057\u3044A\u6b63\u898f\u5316\u306b\u95a2\u3057\u3066\u306f\u66d6\u6627\u6027\u304c\u3042\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u5f8c\u534a\u306f\u305d\u306e\u8a71\u3002 \u8a00\u8a9e\u62e1\u5f35 AST\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\uff1a type t = ... | Bool of bool ... | Lt of t * t ... | If of t * t * t Lt\u306f\u300c\u672a\u6e80\u300d\u3002(if (< x 5) 5 x))\u306e\u3088\u3046\u306a\u5f62\u3067\u4f7f\u3046\u3002 \u03b1\u5909\u63db\u306f\u7c21\u5358\uff1a let rec g env e = match e with ... | A.Bool _ -> e ... | A.Lt(e1,e2) -> A.Lt(g env e1, g en\u2026","blog_url":"https://zehnpaard.hatenablog.com/","categories":["OCaml","\u8a00\u8a9e\u51e6\u7406\u7cfb"],"blog_title":"Arantium Maestum","url":"https://zehnpaard.hatenablog.com/entry/2022/03/14/013607","image_url":null,"width":"100%"}