anycache
Scan-resistant LRU/2Q cache
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a t = ( 'a, exn ) Result.result
the type for deferred computation with result of type 'a
type ('a, 'b) result = ( 'a, 'b ) Result.result =
| Ok of 'a | |
| Error of 'b | (* result type for backward compatibility *) |
val return : 'a -> 'a t
a successfull result
val fail : exn -> 'a t
an error