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.1.0.tbz
sha256=d7a0d427b5c5569975efcdb111face78ed12f07955c83bd5eb01bbfd2f778bca
sha512=66447665aa699fb17b646630c21a774c61fdd73fddbb22dcd50505e672491cce905a36493020ca1db54ef7301aaf229985f82b7a4fedd41a023f2387d234a717

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 exec -- ocaml-print-intf ocaml_print_intf.ml
val root_from_verbose_output : string list -> string
val target_from_verbose_output : string list -> string
val build_cmi : string -> string
val print_intf : string -> unit
val version : unit -> string
val usage : unit -> unit
OCaml

Innovation. Community. Security.