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

« back to all changes in this revision

Viewing changes to contrib/correctness/examples/extract.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
 
 
2
(* Tests d'extraction *)
 
3
 
 
4
Require ProgramsExtraction.
 
5
Save State Ici "test extraction".
 
6
 
 
7
(* exp *)
 
8
 
 
9
Require exp.
 
10
Write Caml File "exp" [ i_exp r_exp ].
 
11
 
 
12
(* exp_int *)
 
13
 
 
14
Restore State Ici.
 
15
Require exp_int.
 
16
Write Caml File "exp_int" [ i_exp r_exp ].
 
17
 
 
18
(* fact *)
 
19
 
 
20
Restore State Ici.
 
21
Require fact.
 
22
Initialize x with (S (S (S O))).
 
23
Initialize y with O.
 
24
Write Caml File "fact" [ factorielle ].
 
25
 
 
26
(* fact_int *)
 
27
 
 
28
Restore State Ici.
 
29
Require fact_int.
 
30
Initialize x with `3`.
 
31
Initialize y with `0`.
 
32
Write Caml File "fact_int" [ factorielle ].
 
33
 
 
34
(* Handbook *)
 
35
 
 
36
Restore State Ici.
 
37
Require Handbook.
 
38
Initialize X with `3`.
 
39
Initialize Y with `3`.
 
40
Initialize Z with `3`.
 
41
Initialize N with `3`.
 
42
Initialize S with `3`.
 
43
Write Caml File "Handbook" [ pgm178 pgm186 pgm196 ].