Unison.Util.CycleTable
data CycleTable k v Source #
Constructors
Fields
new :: Int -> IO (CycleTable k v) Source #
lookup :: (Hashable k, Eq k) => k -> CycleTable k v -> IO (Maybe v) Source #
insert :: (Hashable k, Eq k) => k -> v -> CycleTable k v -> IO () Source #
size :: CycleTable k v -> IO Int Source #
insertEnd :: (Hashable k, Eq k) => k -> CycleTable k Int -> IO () Source #