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

« back to all changes in this revision

Viewing changes to lib/hashcons.mli

  • 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
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
 
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
 
4
(*   \VV/  **************************************************************)
 
5
(*    //   *      This file is distributed under the terms of the       *)
 
6
(*         *       GNU Lesser General Public License Version 2.1        *)
 
7
(************************************************************************)
 
8
 
 
9
(*i $Id: hashcons.mli 5920 2004-07-16 20:01:26Z herbelin $ i*)
 
10
 
 
11
(* Generic hash-consing. *)
 
12
 
 
13
module type Comp =
 
14
  sig
 
15
    type t
 
16
    type u
 
17
    val hash_sub :  u -> t -> t
 
18
    val equal : t -> t -> bool
 
19
    val hash : t -> int
 
20
  end
 
21
 
 
22
module type S =
 
23
  sig
 
24
    type t
 
25
    type u
 
26
    val f : unit -> (u -> t -> t)
 
27
  end
 
28
 
 
29
module Make(X:Comp) : (S with type t = X.t and type u = X.u)
 
30
 
 
31
val simple_hcons : (unit -> 'u -> 't -> 't) -> ('u -> 't -> 't)
 
32
val recursive_hcons : (unit -> ('t -> 't) * 'u -> 't -> 't) -> ('u -> 't -> 't)
 
33
val recursive_loop_hcons :
 
34
    (unit -> ('t -> 't) * 'u -> 't -> 't) -> ('u -> 't -> 't)
 
35
val recursive2_hcons :
 
36
  (unit -> ('t1 -> 't1) * ('t2 -> 't2) * 'u1 -> 't1 -> 't1) ->
 
37
    (unit -> ('t1 -> 't1) * ('t2 -> 't2) * 'u2 -> 't2 -> 't2) ->
 
38
      'u1 -> 'u2 -> ('t1 -> 't1) * ('t2 -> 't2)
 
39
 
 
40
(* Declaring and reinitializing global hash-consing functions *)
 
41
 
 
42
val init : unit -> unit
 
43
val register_hcons : ('u -> 't -> 't) -> ('u -> 't -> 't)
 
44
 
 
45
module Hstring : (S with type t = string and type u = unit)
 
46
module Hobj : (S with type t = Obj.t and type u = (Obj.t -> Obj.t) * unit)
 
47
 
 
48
val string : string -> string
 
49
val obj : Obj.t -> Obj.t
 
50
 
 
51
val magic_hash : 'a -> 'a
 
52