{"height":"190","provider_url":"https://hatena.blog","author_name":"camlspotter","published":"2008-11-17 21:58:06","title":" ocamlc \u306e\u6975\u3081\u3066\u6975\u3081\u3066\u5185\u90e8\u7684\u306a\u3053\u3068","blog_title":"camlspotter\u2019s blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcamlspotter.hatenablog.com%2Fentry%2F20081117%2F1226926686\" title=\" ocamlc \u306e\u6975\u3081\u3066\u6975\u3081\u3066\u5185\u90e8\u7684\u306a\u3053\u3068 - camlspotter\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://camlspotter.hatenablog.com/entry/20081117/1226926686","blog_url":"https://camlspotter.hatenablog.com/","description":"\u307b\u3068\u3093\u3069\u500b\u4eba\u7684\u30e1\u30e2\u3067\u3059\u3002Identifier \u306b\u3064\u3044\u3066\u3002 \u578b\u3082\u5024\u3082 structure \u4e2d\u3067\u306f pos >= 0 \u306e\u56fa\u6709 id \u3092\u6301\u3064\u3002\u3053\u306e\u305f\u3081\u3001type t \u3068 let t = \u304c\u5b58\u5728\u3057\u3066\u3082\u6df7\u4e71\u3057\u306a\u3044\u3002 \u578b\u306f structure \u4e2d\u306b\u540c\u540d\u306e\u7269\u306f\u51fa\u73fe\u3067\u304d\u306a\u3044\u3002\u30ea\u30f3\u30af\u6642\u306b\u3082\u5024\u3092\u4f5c\u3089\u306a\u3044\u3002\u3088\u3063\u3066\u3001structure \u5916\u90e8\u306b\u306f pos = -1 \u3068\u3057\u3066 export \u3059\u308b\u3002 \u5024\u306f structure \u4e2d\u306b\u540c\u540d\u306e\u7269\u304c\u8907\u6570\u51fa\u73fe\u3057\u3066\u3082\u3088\u3044\u3002\u5024\u3092\u751f\u6210\u3059\u308b\u305f\u3081\u3001structure \u5916\u90e8\u306b\u306f coercion \u3057\u305f\u5f8c\u306e pos >= 0 \u304c\u4ed8\u304f\u3002 \u5916\u90e8\u304b\u3089\u306f t:-1 \u3068\u3057\u3066\u898b\u3048\u308b\u578b\u3092\u3001structure \u4e2d\u306b\u2026","author_url":"https://blog.hatena.ne.jp/camlspotter/","provider_name":"Hatena Blog","image_url":null,"categories":["OCaml"],"width":"100%","type":"rich","version":"1.0"}