package oasis
Tooling for building OCaml libraries and applications
Install
Dune Dependency
Authors
Maintainers
Sources
oasis-0.4.8.tar.gz
sha256=1e535de19fce623cc0019d2bbc4b158ac47e10b0165620e2ea459b1b0fdbc7d2
md5=9ba176512a3cc008ec39cd4b528cc4e5
doc/oasis.base/BaseCheck/index.html
Module BaseCheck
Check host system features
val prog_best :
OASISTypes.prog ->
OASISTypes.prog list ->
unit ->
OASISTypes.host_filename
Look for a program among a list of alternative program * the first found is returned.
val prog : OASISTypes.prog -> unit -> OASISTypes.host_filename
Check the presence of a particular program.
val prog_opt : OASISTypes.prog -> unit -> OASISTypes.host_filename
Check the presence of a program or its native version.
val ocamlfind : unit -> OASISTypes.host_filename
The ocamlfind command line tool, used to query version of package. Use BaseStandardVar.ocamlfind
variable if you want a safe way to access this variable.
val version :
string ->
OASISVersion.comparator ->
(unit -> OASISVersion.StringVersion.t) ->
unit ->
OASISVersion.StringVersion.t
version var_pref cmp ver ()
Check version ver ()
, using cmp
and OASISVersion.comparator_apply
. Generate a variable prefixed by var_pref
and using OASISVersion.varname_of_comparator
.
val package_version : OASISTypes.findlib_full -> OASISVersion.StringVersion.t
Get findlib package version .
val package :
?version_comparator:OASISVersion.comparator ->
OASISTypes.findlib_full ->
unit ->
OASISTypes.host_dirname
Check for findlib package and version. Return install directory.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>