type loc = CicNotationPt.location
type ('term, 'lazy_term, 'ident) pattern =
- 'lazy_term option * ('ident * 'term) list * 'term
+ 'lazy_term option * ('ident * 'term) list * 'term option
type ('term, 'ident) type_spec =
| Ident of 'ident
(** To be increased each time the command type below changes, used for "safe"
* marshalling *)
-let magic = 4
+let magic = 5
-type ('term,'obj) command =
+type 'obj command =
| Default of loc * string * UriManager.uri list
| Include of loc * string
| Set of loc * string * string
(** name.
* Name is needed when theorem was started without providing a name
*)
- | Coercion of loc * 'term * bool (* add composites *)
+ | Coercion of loc * UriManager.uri * bool (* add composites *)
| Alias of loc * alias_spec
(** parameters, name, type, fields *)
| Obj of loc * 'obj
| _ -> false
type ('term, 'lazy_term, 'reduction, 'obj, 'ident) code =
- | Command of loc * ('term,'obj) command
+ | Command of loc * 'obj command
| Macro of loc * 'term macro
| Tactical of loc * ('term, 'lazy_term, 'reduction, 'ident) tactical
* ('term, 'lazy_term, 'reduction, 'ident) tactical option(* punctuation *)