summaryrefslogtreecommitdiff
path: root/hashtable.sig
blob: b714fd676a7c5e03a1524986db1ba12424b9902e (plain)
1
2
3
4
5
6
7
8
9
10
signature HASHTABLE = sig
  type 'a t

  exception HashtableFull
  exception Exists

  val create: int -> 'a t
  val insert: 'a t -> string -> 'a -> unit
  val lookup: 'a t -> string -> 'a option
end