aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Init/Specif.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-10-23 14:08:35 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2010-10-23 14:08:35 +0000
commit54203b86a973f05326153b40c850c6a9c00b23b6 (patch)
tree2258a89eb5ac95f862dd0664f24d06ed153fe65a /theories/Init/Specif.v
parentc4d79461518f5dd4351a558cac4c3d3ad410609a (diff)
Used multiple lists of implicit arguments to transfer the choices of
Program in terms of implicit arguments to the rest of the library. This commit only covers the case of list of implicit arguments that have a different length in Program (e.g. inl, Vcons) but not the case of implicit arguments which differs only in their maximality status (e.g. pair). git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13575 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/Init/Specif.v')
-rw-r--r--theories/Init/Specif.v3
1 files changed, 3 insertions, 0 deletions
diff --git a/theories/Init/Specif.v b/theories/Init/Specif.v
index df98d369b..a871c4081 100644
--- a/theories/Init/Specif.v
+++ b/theories/Init/Specif.v
@@ -126,6 +126,9 @@ Inductive sumbool (A B:Prop) : Set :=
Add Printing If sumbool.
+Implicit Arguments left [[A] [B]] [A].
+Implicit Arguments right [[A] [B]] [B].
+
(** [sumor] is an option type equipped with the justification of why
it may not be a regular value *)