Re: List of all "buitin" modules in utop, to avoid name collision
"Gabriel Scherer [email protected] [ocaml_beginners]" <[email protected]> Tue, 5 Jul 2016 11:36:10 -0400
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <CAPFanBFjfz=-7TuysHMEzSk30E2sJK2-zsEawVe75wOLvxC2XQ@mail.gmail.com> |
I suppose that CamlinternalFormatBasics.char_set is an alias for the type "string" and for some reason the type-checker did the wrong choice in deciding which to print (they are the same, but users expect one rather than the other). You should try passing the -short-paths option when invoking utop (or the ocaml compiler). On Tue, Jul 5, 2016 at 11:33 AM, [email protected] [ocaml_beginners] <[email protected]> wrote: > > > You are right, reading this Absolute_path signature in my utop a second > time, > it is in fact my own module, except that "string" has been replaced > with "CamlinternalFormatBasics.char_set". This is the reason I initially > thought it was a different module. > Why does utop make changes like that on module signatures ? > > > > >