package odig

  1. Overview
  2. Docs

mli files.

Mli

type t = mli

The type for mli files.

val read : Fpath.t -> (mli, [ `Msg of string ]) Pervasives.result

read f reads an mli file from f.

Warning. Does only check the file exists, not that it is syntactically correct.

val name : mli -> string

name mli is the name of the module interface.

val path : mli -> Fpath.t

path mli is the file path to the mli file.

OCaml

Innovation. Community. Security.