Control.Monad.Memo.Vector.Expandable (original) (raw)

Contents

Description

Vector-based [MonadCache](Control-Monad-Memo-Class.html#t:MonadCache) implementation which dynamically expands the vector during the computation to accomodate all requested keys. This implementation does not require to specify the length of the vector up front, but may be slower than Control.Monad.Memo.Vector.

Synopsis

VectorCache for boxed types

UVectorCache for unboxed types

Generic functions for VectorCache