* http://helm.cs.unibo.it/
*)
-module Ast = CicNotationPt
-
type direction = [ `LeftToRight | `RightToLeft ]
-type loc = Ast.location
+type loc = CicNotationPt.location
type ('term, 'lazy_term, 'ident) pattern =
'lazy_term option * ('ident * 'term) list * 'term
| Ident of 'ident
| Type of UriManager.uri * int
-type reduction =
+type 'lazy_term reduction =
[ `Normalize
| `Reduce
| `Simpl
- | `Unfold of CicNotationPt.term option
+ | `Unfold of 'lazy_term option
| `Whd ]
type ('term, 'lazy_term, 'reduction, 'ident) tactic =
(** To be increased each time the command type below changes, used for "safe"
* marshalling *)
-let magic = 3
+let magic = 4
type ('term,'obj) command =
| Default of loc * string * UriManager.uri list
| Alias of loc * alias_spec
(** parameters, name, type, fields *)
| Obj of loc * 'obj
- | Notation of loc * direction option * Ast.term * Gramext.g_assoc *
- int * Ast.term
+ | Notation of loc * direction option * CicNotationPt.term * Gramext.g_assoc *
+ int * CicNotationPt.term
(* direction, l1 pattern, associativity, precedence, l2 pattern *)
| Interpretation of loc *
- string * (string * Ast.argument_pattern list) *
- Ast.cic_appl_pattern
+ string * (string * CicNotationPt.argument_pattern list) *
+ CicNotationPt.cic_appl_pattern
(* description (i.e. id), symbol, arg pattern, appl pattern *)
| Metadata of loc * metadata