X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=helm%2Focaml%2Fcic%2Fcic.ml;h=1c2bf8df0e46d968d703708a33d482ca1e84469d;hb=904ecbd458b20b47d250889459f9aa9ebd26d04d;hp=23bb7661b0bb4d8b96340c032f73e67970760656;hpb=f47b833df94d134090a65653077744290438a875;p=helm.git diff --git a/helm/ocaml/cic/cic.ml b/helm/ocaml/cic/cic.ml index 23bb7661b..1c2bf8df0 100644 --- a/helm/ocaml/cic/cic.ml +++ b/helm/ocaml/cic/cic.ml @@ -53,16 +53,27 @@ type name = | Name of string | Anonymous +type object_flavour = + [ `Definition + | `Fact + | `Lemma + | `Remark + | `Theorem + | `Variant + ] + type object_class = [ `Coercion | `Elim of sort (** elimination principle; if sort is Type, the universe is * not relevant *) - | `Record (** inductive type that encodes a record *) + | `Record of string list (** inductive type that encodes a record; + the arguments are the record fields *) | `Projection (** record projection *) ] type attribute = [ `Class of object_class + | `Flavour of object_flavour | `Generated ]