logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ocamlmod - generate OCaml modules from source files

Authors

       Sylvain Le Gall.

ocamlmod manpage                                 April 20, 2012                                      OCAMLMOD(1)

Description

       This program allows one to generate a single module files from a bunch of OCaml source file.

File Syntax

       The file.mod must contains one source (.ml) per line.

       Each  .ml  file is copied with an indentation of 2 space into file.ml The target filename is derived from
       the .mod filename.

       During the copy, some parts are removed:

       • Every lines contains inside a (* END EXPORT *), (* START EXPORT *)

       • Some camlp4 related directive (with odn and TYPE_CONV_PATH).

Name

       ocamlmod - generate OCaml modules from source files

Synopsis

       ocamlmod [‐help|‐‐help] file.mod

See Also