diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2009-12-07 15:24:13 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2009-12-07 15:24:13 +0000 |
commit | 35159e8aa9bf33b4882bc7f17c2e363f769624c7 (patch) | |
tree | b4791a8db7bcc1369025b1d261dc6d2a6301278c /theories/QArith/QOrderedType.v | |
parent | 78ad7ad114f3872c3e1c48e8427bee1351c25962 (diff) |
No more specific syntax "Include Self" for inclusion of partially-applied functors
For Module F(X:SIG), making now a Include F will try to find the X fields in
the current context, just as was doing earlier Include Self F. This specific
syntax is removed, freeing the keyword "Self". Anyway, with the use of the
syntax "<+" there was already hardly any need for syntax "Include Self".
Idem for Include Type.
Beware that a typo such as "Include F" instead of "Include F G" will
produce a different message now, about a missing field instead of
a not-enough-applied functor.
By the way, some code clean-up and factorisation of inner recursive
functions in declaremods.ml.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12566 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'theories/QArith/QOrderedType.v')
-rw-r--r-- | theories/QArith/QOrderedType.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/theories/QArith/QOrderedType.v b/theories/QArith/QOrderedType.v index cad77b4eb..c49ded740 100644 --- a/theories/QArith/QOrderedType.v +++ b/theories/QArith/QOrderedType.v @@ -20,8 +20,8 @@ Module Q_as_DT <: DecidableTypeFull. Definition eqb := Qeq_bool. Definition eqb_eq := Qeq_bool_iff. - Include Self Backport_ET_fun. (** eq_refl, eq_sym, eq_trans *) - Include Self Bool2Dec_fun. (** eq_dec *) + Include Backport_ET_fun. (** eq_refl, eq_sym, eq_trans *) + Include Bool2Dec_fun. (** eq_dec *) End Q_as_DT. |