Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This is similar to CACHE_MAP
except that it handles option
. Specifically, you can insert 'a option Lwt.t
and promises that are fulfilled with None
are treated like promises that are rejected:
fold
.val create : int -> 'a t
val length : 'a t -> int
val capacity : 'a t -> int
val clear : 'a t -> unit