diff options
author | Samuel Mimram <samuel.mimram@ens-lyon.org> | 2004-07-28 21:54:47 +0000 |
---|---|---|
committer | Samuel Mimram <samuel.mimram@ens-lyon.org> | 2004-07-28 21:54:47 +0000 |
commit | 6b649aba925b6f7462da07599fe67ebb12a3460e (patch) | |
tree | 43656bcaa51164548f3fa14e5b10de5ef1088574 /toplevel/record.mli |
Imported Upstream version 8.0pl1upstream/8.0pl1
Diffstat (limited to 'toplevel/record.mli')
-rw-r--r-- | toplevel/record.mli | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/toplevel/record.mli b/toplevel/record.mli new file mode 100644 index 00000000..8eff2ed5 --- /dev/null +++ b/toplevel/record.mli @@ -0,0 +1,28 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +(*i $Id: record.mli,v 1.16.2.1 2004/07/16 19:31:49 herbelin Exp $ i*) + +(*i*) +open Names +open Term +open Sign +open Vernacexpr +open Topconstr +(*i*) + +(* [declare_projections ref coers params fields] declare projections of + record [ref] (if allowed), and put them as coercions accordingly to + [coers]; it returns the absolute names of projections *) + +val declare_projections : + inductive -> bool list -> rel_context -> constant option list + +val definition_structure : + lident with_coercion * local_binder list * + (local_decl_expr with_coercion) list * identifier * sorts -> unit |