Module LRUHashtblTests.LRUHash
type key = IStdlib.IStd.Int.tval create : initial_size:int -> max_size:int -> 'a tval find_opt : 'a t -> key -> 'a optionval replace : 'a t -> key -> 'a -> unitval remove : 'a t -> key -> unitval pp :
pp_key:(Stdlib.Format.formatter -> key -> unit) ->
pp_v:(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'a t ->
unitval bindings : 'a t -> (key * 'a) list