package omod

  1. Overview
  2. Docs

Omod v0.0.3

Omod is a library and command line tool to lookup and load installed OCaml modules. It provides a mechanism to load modules and their dependencies in the OCaml toplevel system (REPL).

Follow the tutorial.

  • Omod Load installed modules in the toplevel.

Quick start

Simply run ocaml and load the library:

> rlwrap ocaml
…
# #use "omod.top"
# Omod.load "Unix"
# Omod.status ()

You can add this #use invocation to your ~/.ocamlinit file. More in the tutorial.

Private API