~ubuntu-branches/ubuntu/lucid/camomile/lucid

« back to all changes in this revision

Viewing changes to internal/tbl31.mli

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall
  • Date: 2005-12-03 01:18:55 UTC
  • Revision ID: james.westby@ubuntu.com-20051203011855-qzvwlld1xyqnl62t
Tags: upstream-0.6.3
ImportĀ upstreamĀ versionĀ 0.6.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(* $Id: tbl31.mli,v 1.6 2003/06/18 15:11:07 yori Exp $ *)
 
2
(* Copyright 2002, 2003 Yamagata Yoriyuki. distributed with LGPL *)
 
3
 
 
4
type 'a tbl
 
5
type 'a t = 'a tbl
 
6
 
 
7
val get : 'a tbl -> int -> 'a
 
8
 
 
9
module type Type = sig
 
10
  type elt
 
11
  type t = elt tbl
 
12
  val get : elt tbl -> int -> elt
 
13
  val of_map : elt -> elt IMap.t -> t
 
14
end
 
15
 
 
16
module Make : functor (H : Hashtbl.HashedType) -> (Type with type elt = H.t)
 
17
 
 
18
module Bool : sig
 
19
  type t
 
20
  val of_set : ISet.t -> t
 
21
  val get : t -> int -> bool
 
22
end
 
23
 
 
24
module Bits : sig
 
25
  type t
 
26
  val of_map : int -> int IMap.t -> t
 
27
  val get : t -> int -> int
 
28
end
 
29
 
 
30
module Bytes : sig
 
31
  type t
 
32
  val of_map : int -> int IMap.t -> t
 
33
  val get : t -> int -> int
 
34
end
 
35
 
 
36
module Char : sig
 
37
  type t
 
38
  val of_map : char -> char IMap.t -> t
 
39
  val get : t -> int -> char
 
40
end