{"type":"rich","height":"190","published":"2008-09-27 00:00:00","width":"100%","url":"https://mzp.hatenadiary.org/entry/20080927/dlambda","categories":["Scheme","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"version":"1.0","provider_name":"Hatena Blog","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","author_name":"mzp","blog_url":"https://mzp.hatenadiary.org/","image_url":null,"author_url":"https://blog.hatena.ne.jp/mzp/","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e376\u3002OCaml\u304c\u751f\u6210\u3057\u305f\u30e9\u30e0\u30c0\u5f0f\u3092Scheme\u51e6\u7406\u7cfb\u306e\u4e0a\u3067\u52d5\u304b\u3057\u3066\u307f\u308b\u3002OCaml\u51e6\u7406\u7cfb\u306b\u306f\u3001\u305d\u306e\u4e2d\u9593\u5f62\u5f0f\u3067\u3089\u3046\u30e9\u30e0\u30c0\u5f0f\u3092\u30c0\u30f3\u30d7\u6a5f\u80fd\u304c\u3042\u308b\u3002undocumented\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u3051\u3069\u3002\u305f\u3068\u3048\u3070\u3001\u3053\u3093\u306afact.ml\u3092 let rec fact n = if n = 0 then 1 else n * fact (n - 1) \"-dlambda\"\u4ed8\u304d\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3059\u308b\u3068 $ ocamlc -dlambda fact.ml (setglobal Sample! (letrec (fact/58 (function n/59 (if (== n/59 0) 1 (* n/5\u2026","title":"OCaml on Scheme","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20080927%2Fdlambda\" title=\"OCaml on Scheme - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}