(************************************************************************) (* * The Rocq Prover / The Rocq Development Team *) (* v * Copyright INRIA, CNRS and contributors *) (* <O___,, * (see version control and CREDITS file for authors & dates) *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (* * (see LICENSE file for the text of the license) *) (************************************************************************)
(** This API is loosely inspired by [Stdune.Path], for now we keep
it minimal, but at some point we may extend it. *)
(** Paths are private, and owned by the functions below *) type t
(** [relative path string] build a path relative to an existing one *) val relative : t -> string -> t
(** We should gradually add some more functions to handle common dirs heresuchthetheoriesdirectoriesorsharefiles.Abstractingit
hereere does allow to use system-specific functionalities *)
(** [exists file] checks if [file] exists *) valexists : t -> bool
(** String representation *) val to_string : t -> string
end
(** Rocq runtime enviroment, including location of Rocq's Corelib *) type t
type maybe_env =
| Env of t
| Boot
(** Returns [None] if the environment has not been initialized. *) val initialized : unit -> maybe_env option
(** Init, possibly with a user provided coqlib *) val init_with : coqlib:stringoption -> t
(** Init if boot:false, possibly with a user provided coqlib.
Incompatible arguments run [warn_ignored_coqlib] (ie with boot:true and coqlib:Some) *) val maybe_init : warn_ignored_coqlib:(unit -> unit) ->
boot:bool -> coqlib:stringoption -> maybe_env
(** Usual messsage used for warn_ignored_coqlib *) val ignored_coqlib_msg : string
(** If the query list is empty, behave as [maybe_init]. Otherwise,printthequeries.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.