]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/ocaml/cic_disambiguation/ast.mli
snapshot, almost working
[helm.git] / helm / ocaml / cic_disambiguation / ast.mli
index 19f4bd6bd5173a548ef7f2e6b5f0572d3e5c8138..b7267ee573649769d09ea7498f651ac315bd4dad 100644 (file)
@@ -69,7 +69,7 @@ type term =
   | LocatedTerm of location * term
 
   | Appl of term list
-  | Appl_symbol of string * term list
+  | Appl_symbol of string * int * term list (* literal, args, instance *)
   | Binder of binder_kind * Cic.name * term option * term
       (* kind, name, type, body *)
   | Case of term * string * term option * (case_pattern * term) list
@@ -77,9 +77,9 @@ type term =
   | LetIn of string * term * term  (* name, body, where *)
   | LetRec of induction_kind * (string * term * term option * int) list * term
       (* (name, body, type, decreasing argument) list, where *)
-  | Ident of string * subst list
+  | Ident of string * subst list  (* literal, substitutions *)
   | Meta of int * meta_subst list
-  | Num of string
+  | Num of string * int (* literal, instance *)
   | Sort of sort_kind
 
 and meta_subst = term option