ocsigen/js_of_ocaml — pull request #140 by hhugo (2014-04-10 22:50:50+00:00)
Title: Syntax: object literal

imported from https://github.com/astrada/pa_extjs cc @astrada
for the upcoming release or later

example
```
let obj = {|
p1 = Js._true;
p2 = Js.string "string property";
|}
```
is infered to
```
< p1 : < set : bool Js.t -> unit; .. > Js.gen_prop;
p2 : < set : Js.js_string Js.t -> unit; .. > Js.gen_prop; .. >
Js.t
```