~ubuntu-branches/ubuntu/wily/coq-doc/wily

« back to all changes in this revision

Viewing changes to test-suite/failure/univ_include.v

  • Committer: Bazaar Package Importer
  • Author(s): Stéphane Glondu, Stéphane Glondu, Samuel Mimram
  • Date: 2010-01-07 22:50:39 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100107225039-n3cq82589u0qt0s2
Tags: 8.2pl1-1
[ Stéphane Glondu ]
* New upstream release (Closes: #563669)
  - remove patches
* Packaging overhaul:
  - use git, advertise it in Vcs-* fields of debian/control
  - use debhelper 7 and dh with override
  - use source format 3.0 (quilt)
* debian/control:
  - set Maintainer to d-o-m, set Uploaders to Sam and myself
  - add Homepage field
  - bump Standards-Version to 3.8.3
* Register PDF documentation into doc-base
* Add debian/watch
* Update debian/copyright

[ Samuel Mimram ]
* Change coq-doc's description to mention that it provides documentation in
  pdf format, not postscript, closes: #543545.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Definition T := Type.
 
2
Definition U := Type.
 
3
 
 
4
Module Type MT. 
 
5
  Parameter t : T.
 
6
End MT. 
 
7
 
 
8
Module Type MU.
 
9
  Parameter t : U.
 
10
End MU.
 
11
 
 
12
Module F (E : MT).
 
13
  Definition elt :T := E.t.
 
14
End F.
 
15
 
 
16
Module G (E : MU).
 
17
  Include F E.
 
18
Print Universes. (* U <= T *)
 
19
End G.
 
20
Print Universes. (* Check if constraint is lost *)
 
21
 
 
22
Module Mt.
 
23
  Definition t := T.
 
24
End Mt.
 
25
 
 
26
Module P := G Mt. (* should yield Universe inconsistency *)
 
27
(* ... otherwise the following command will show that T has type T! *)
 
28
Eval cbv delta [P.elt Mt.t] in P.elt.
 
29
 
 
30