package oasis

  1. Overview
  2. Docs
Tooling for building OCaml libraries and applications

Install

Dune Dependency

Authors

Maintainers

Sources

oasis-0.4.7.tar.gz
sha256=54bc4b80e4a38719124e8fb0125c6f3404bda514b87b8749b51442e023de998d
md5=d848bac0234ed1849a9187d16630cda3

doc/oasis.base/BaseCompat/index.html

Module BaseCompat

Compatibility layer to provide a stable API inside setup.ml. This layer allows OASIS to change in between minor versions (e.g. 0.4.6 -> 0.4.7) but still provides a stable API inside setup.ml. This enables to write functions that manipulate setup_t inside setup.ml. See deps.ml for an example.

The module opened by default will depend on the version of the _oasis. E.g. if we have "OASISFormat: 0.3", the module Compat_0_3 will be opened and the function Compat_0_3 will be called. If setup.ml is generated with the -nocompat, no module will be opened.

  • author Sylvain Le Gall
module Compat_0_4 : sig ... end
module Compat_0_3 : sig ... end
val setup_ml_text : OASISTypes.package -> string list
OCaml

Innovation. Community. Security.