Writing a small website using Ocsigen, in most of the modules, I open Core
, but I cannot do that in the two modules that uses pgocaml.syntax
(if I do that, the compiler would complain something about labeled application, guess the code generated by PGOCaml isn’t core-friendly).
The application compiles ok and as far as I can see, runs ok, but I’m a little worried, since I pass values between those who open Core
and those don’t (but I do use Core.blah
in those who don’t), will this leads to some runtime crash that otherwise can be caught at compilation time?