diff options
author | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-02-26 15:58:32 +0000 |
---|---|---|
committer | msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2008-02-26 15:58:32 +0000 |
commit | d081dcfaedb5b7e2ad78574a053bcebc4bfb564a (patch) | |
tree | dfdb78d703b6eb48d43b4ca555a3fd24e37db574 /theories/Classes/Init.v | |
parent | e467f77a19229058070d43e9cf1080534b9aee74 (diff) |
Proper implicit arguments handling for assumptions
(Axiom/Variable...). New tactic clapply to apply unapplied class methods
in tactic mode, simple solution to the fact that apply does not work
up-to classes yet. Add Functions.v for class definitions related to
functional morphisms.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@10589 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Classes/Init.v')
-rw-r--r-- | theories/Classes/Init.v | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/theories/Classes/Init.v b/theories/Classes/Init.v index beeb74589..cb27fbc38 100644 --- a/theories/Classes/Init.v +++ b/theories/Classes/Init.v @@ -16,3 +16,6 @@ (* $Id: Init.v 616 2007-08-08 12:28:10Z msozeau $ *) (* Ltac typeclass_instantiation := typeclasses eauto || eauto. *) + +Tactic Notation "clapply" ident(c) := + eapply @c ; eauto with typeclass_instances. |