| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | module Dep : sig |
| 12 | type t = |
| 13 | | Require of string |
| 14 | (** module basename, to which we later append .vo or .vos *) |
| 15 | | Ml of string |
| 16 | (** plugin basename and byte extension, resolved from Declare Ml Module *) |
| 17 | | Other of string |
| 18 | (** load, meta, and external dependencies *) |
| 19 | |
| 20 | module Set : CSet.ExtS with type elt = t |
| 21 | end |
| 22 | |
| 23 | type t = |
| 24 | { name : string (* This should become [module : Coq_module.t] eventually *) |
| 25 | ; deps : Dep.t list |
| 26 | } |
| 27 | |
| 28 | val make : name:string -> deps:Dep.t list -> t |