Julien Sagot

Results 175 comments of Julien Sagot

I got a minimal example of my problem. `a.eliom` ```ocaml open%shared Eliom_lib open%shared Eliom_content open%shared Html.D module%shared A_app = Eliom_registration.App ( struct let application_name = "a" let global_data_path = None...

Okay, I get it (#275), turning `let%client data = ..` into `let%client data () = ...` fixes the thing. But why?

Note: the same bug prevent me from using my modified version of `ocsigen-start`: https://github.com/sagotch/ocsature

The only piece of code which is client side is in [ocsature_page.eliom](https://github.com/sagotch/ocsature/blob/master/src/ocsature_page.eliom), a simple `shared` module doing almost nothing. Adding `ocsature.client` to `CLIENT_PACKAGES` (in `Makefile.option`) produces ``` sagotch.js:33 Uncaught (3)...

``` opam pin remove eliom js_of_ocaml ocsigen-i18n ocsigen-start ocsigen-toolkit ocsigenserver pgocaml tyxml ``` And... it works. I am pretty sure that `tyxml` was not pinned before (I just added it...

The full compilation process (after a make `clean`) ``` ju:~/workspace/twittex$ make eliomc -rectypes -ppx -infer -package lwt.ppx -package js_of_ocaml.deriving.ppx -package ocsature.server -package markiz twittex.eliom js_of_eliom -rectypes -ppx -c -package lwt.ppx...

Oh come on... That's the same problem as the last time, how couldn't I see it... It still is very strange regarding what causes the app to work or not....

We still have this *issue*. ```ocaml let%client foo' = ref (fun () -> assert false) let%client bar' = ref (fun () -> assert false) let%shared foo () = f [%client...

A link in the description of the File module would help. But my mistake was that I did not read the full https://ocsigen.org/eliom/6.2/api/server/Eliom_registration page, because I assumed that every sub...