package oasis

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

Install

Dune Dependency

Authors

Maintainers

Sources

oasis-0.4.10.tar.gz
sha256=1cd9071403a2edb79dacbca8a96bdc6be754e786e1a45e69d9326fb6ee00508d
md5=84de67188d6c1ba4499aee6d4cb8cb54

doc/oasis.base/BaseCompat/index.html

Module BaseCompatSource

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
Sourcemodule Compat_0_4 : sig ... end
Sourcemodule Compat_0_3 : sig ... end
Sourceval setup_ml_text : OASISTypes.package -> string list
OCaml

Innovation. Community. Security.