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

« back to all changes in this revision

Viewing changes to test-suite/modules/sub_objects.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
Set Implicit Arguments.
 
2
Unset Strict Implicit.
 
3
 
 
4
 
 
5
Module M.
 
6
  Definition id (A : Set) (x : A) := x.
 
7
 
 
8
  Module Type SIG.
 
9
    Parameter idid : forall A : Set, A -> A.
 
10
  End SIG.
 
11
 
 
12
  Module N.
 
13
    Definition idid (A : Set) (x : A) := id x.
 
14
    (* <Warning> : Grammar is replaced by Notation *)
 
15
    Notation inc := (plus 1). 
 
16
  End N.
 
17
 
 
18
  Definition zero := N.idid 0.
 
19
 
 
20
End M.
 
21
 
 
22
Definition zero := M.N.idid 0.
 
23
Definition jeden := M.N.inc 0.
 
24
 
 
25
Module Goly := M.N.
 
26
 
 
27
Definition Gole_zero := Goly.idid 0.
 
28
Definition Goly_jeden := Goly.inc 0.
 
29
 
 
30
Module Ubrany : M.SIG := M.N.
 
31
 
 
32
Definition Ubrane_zero := Ubrany.idid 0.