Skip to content
Pretty print an OCaml cmi/cmt/cmti file in human-readable OCaml signature form
OCaml
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
.gitignore
README.md
dune
dune-project initial import of ocaml-print-intf Jan 8, 2020
ocaml-print-intf.opam initial import of ocaml-print-intf Jan 8, 2020
ocaml_print_intf.ml initial import of ocaml-print-intf Jan 8, 2020

README.md

ocaml-print-intf

Pretty prints a compiled interface file into the corresponding human-readable OCaml signature.

This is a convenient alternative to ocamlc -i which does this on source .ml files.

Example

On this repository:

$ dune build
$ dune exec -- ocaml-print-intf ./_build/default/.ocaml_print_intf.eobjs/byte/dune__exe__Ocaml_print_intf.cmt
val print_intf : string -> unit
val version : unit -> string
val usage : unit -> unit
You can’t perform that action at this time.