From 3d568063a49204193009ad6a2637176b38902525 Mon Sep 17 00:00:00 2001 From: Vladimir Azarov Date: Wed, 14 May 2025 03:19:35 +0200 Subject: Printf --- hashtable.sig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'hashtable.sig') diff --git a/hashtable.sig b/hashtable.sig index b714fd6..b96bfb3 100644 --- a/hashtable.sig +++ b/hashtable.sig @@ -1,10 +1,11 @@ signature HASHTABLE = sig type 'a t - exception HashtableFull - exception Exists + exception Full and Exists - val create: int -> 'a t + val createLog: int -> 'a t val insert: 'a t -> string -> 'a -> unit val lookup: 'a t -> string -> 'a option + val lookup2: 'a t -> string -> + ('a -> 'a option * 'b) -> (unit -> 'b) -> 'b end -- cgit v1.2.3