[Bug 435293] Review Request: ocaml-openin - OCaml syntax to locally open modules

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 4 10:34:37 UTC 2008


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: ocaml-openin - OCaml syntax to locally open modules


https://bugzilla.redhat.com/show_bug.cgi?id=435293


rjones at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED
               Flag|needinfo?(rjones at redhat.com)|




------- Additional Comments From rjones at redhat.com  2008-04-04 06:34 EST -------
It's the exception:

  "if the cmo file is a camlp4 preprocessor (like Camlp4OCamlPrinter.cmo
   in OCaml), then it must be included because otherwise the syntax
   extension would not be available."

http://fedoraproject.org/wiki/Packaging/OCaml#head-acc221f1e087bc5ce860356b34823bb447da5df5

*.cmo files are loadable object files.  Camlp4 (the macro
preprocessor) loads the pa_openin.cmo file at runtime, which
modifies the actual syntax accepted by the compiler.

In this case it adds the useful 'open M in e' syntax so you
can open a module just for the bit of code that actually needs
it, not for the whole program.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the package-review mailing list