package ocaml-print-intf

  1. Overview
  2. Docs
Display human-readable OCaml interface from a compiled .cmi

Install

Dune Dependency

Authors

Maintainers

Sources

ocaml-print-intf-v1.0.0.tbz
sha256=e31ed8fd95010addd1a6e4fb6bc638916ba5265ea3b4ebc923e2273290b8a97a
sha512=961ad780982423e1fe29532cacfd6f012b5dfedb3066ecfff67a1927877978a9452cce63cc113863f9070006f8c0e40d2af7b4a966b27af0929fbd500f6b7b97

README.md.html

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
OCaml

Innovation. Community. Security.