package omod

  1. Overview
  2. Docs
Lookup and load installed OCaml modules

Install

dune-project
 Dependency

Authors

Maintainers

Sources

omod-0.0.5.tbz
sha512=ba4922a3ff0c549a288908d0506ad8e53a0b256c3c564987a8026c6619f2ce5025d930671452caa250d2e23234b6aa29a5fb0b138ada37cb8a1d535c2968ba24

doc/CHANGES.html

v0.0.5 2026-06-16 Zagreb

  • Support for OCaml 5.5.0 (#16). Thanks to David Allsopp for the fix.
  • omod.top: escape %%LIBDIR%% subtitution in omod.top.
  • omod.top: include and remove compiler-libs to access Topdirs. It's not longer visible by default after 5.1.
  • Restore (and improve) support for ocamlnat. It's now possible to use #use "omod.top" regardless. So if you don't have fancy stuff in your .config/ocaml/init.ml it will work equally with ocaml and ocamlnat (#15). Thanks Juneyoung Lee for the report.

v0.0.4 2024-03-29 La Forclaz (VS)

  • Require and support OCaml >= 4.14.0.
  • Stop using Toploop.directive_table, this means

v0.0.3 2022-02-14 La Forclaz (VS)

  • Allow to abort load sequence prompts cleanly with C-c (#9).
  • Fix variant specification in Omod.load (#11).
  • Move init sequences from omod.[nat]top to the loaded omod.cma and omod_nattop.cmxs. As a side effect removes the annoying warning on load visible since 4.13 (#13) and allows to load omod via ocamlfind (i.e. via #require, not recommended but works).
  • Require OCaml 4.08.
  • Handle the deprecation of Pervasives (and thus support OCaml 5.00).
  • omod pkg, order package info as found on the cli.

v0.0.2 2018-06-19 Zagreb

  • Fix omod for opam system switches. The location of the ocaml package is determined by ocamlc -where rather than $LIBDIR/ocaml (#1)
  • Get rid of shell outs to opam for auto-configuration: infer prefix from the executable's install path (#4).
  • omod pkg --long sort cobjs by name.

v0.0.1 2018-06-13 Zagreb

First release.