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

« back to all changes in this revision

Viewing changes to contrib/subtac/test/measure.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
Notation "( x & y )" := (@existS _ _ x y) : core_scope.
 
2
Unset Printing All.
 
3
Require Import Coq.Arith.Compare_dec.
 
4
 
 
5
Require Import Coq.Program.Program.
 
6
 
 
7
Fixpoint size (a : nat) : nat :=
 
8
  match a with
 
9
  0 => 1
 
10
  | S n => S (size n)
 
11
  end.
 
12
 
 
13
Program Fixpoint test_measure (a : nat) {measure size a}  : nat :=
 
14
  match a with
 
15
  | S (S n) => S (test_measure n)
 
16
  | 0 | S 0 => a
 
17
  end.
 
18
 
 
19
Check test_measure.
 
20
Print test_measure.
 
 
b'\\ No newline at end of file'