aboutsummaryrefslogtreecommitdiff
path: root/tactics/setoid_replace.mli
diff options
context:
space:
mode:
authorsacerdot2004-09-24 20:21:39 +0000
committersacerdot2004-09-24 20:21:39 +0000
commit22fca01c06d1b57068ec0c904c81474fa83edadf (patch)
treed433637141998c97b800ac916986a3fa5ce8891e /tactics/setoid_replace.mli
parente2923495653a68c52f0f8167b49fe71a056fd62f (diff)
New: (temporary) concrete syntax to specify the morphism signature:
"Add Morphism m @ arg1 ... argn @ out as ident" where argi = constr arrow and arrow = "-->" | "++>" | "==>" (for contravariant, covariant and bi-variant morphisms). The syntax should be improved by getting rid of the "@" and maybe choosing better symbols to represent the arrows. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6129 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'tactics/setoid_replace.mli')
-rw-r--r--tactics/setoid_replace.mli6
1 files changed, 5 insertions, 1 deletions
diff --git a/tactics/setoid_replace.mli b/tactics/setoid_replace.mli
index a763f237ae..babd89f1a8 100644
--- a/tactics/setoid_replace.mli
+++ b/tactics/setoid_replace.mli
@@ -13,6 +13,10 @@ open Proof_type
open Topconstr
+type morphism_argument = bool option * constr_expr
+
+val pr_morphism_argument : morphism_argument -> Pp.std_ppcmds
+
val register_replace : (constr -> constr -> tactic) -> unit
val print_setoids : unit -> unit
@@ -34,4 +38,4 @@ val add_setoid : constr_expr -> constr_expr -> constr_expr -> unit
val new_named_morphism :
Names.identifier -> constr_expr ->
- ((bool option * constr_expr) list * constr_expr) option -> unit
+ (morphism_argument list * constr_expr) option -> unit