Single-element mutable array of Dictionary_ with primitive state token parameterized with state, keys and values types.
Different flavors of MVector could be used for keys and values.
It's preferable to use Data.Vector.Unboxed.Mutable
or Data.Vector.Storable.Mutable if possible. Otherwise,
if you must use boxed vectors, consider employing strict ones from
strict-containers
to eliminate potential accumulation of thunks.
Example
import qualified Data.Vector.Storable.Mutable as VMimport qualified Data.Vector.Unboxed.Mutable as UMimport Data.Vector.Hashtablestype HashTable k v = Dictionary (PrimState IO) VM.MVector k UM.MVector v
Constructors
DRefgetDRef :: MutVar s (Dictionary_ s ks k vs v)