Module
Data.StrMap.ST
- Package
- purescript-mapsDEPRECATED
- Repository
- purescript/purescript-maps
Helper functions for working with mutable maps using the ST
effect.
This module can be used when performance is important and mutation is a local effect.
#STStrMap Source
data STStrMap :: Type -> Type -> Type
A reference to a mutable map
The first type parameter represents the memory region which the map belongs to. The second type parameter defines the type of elements of the mutable array.
The runtime representation of a value of type STStrMap h a
is the same as that of StrMap a
, except that mutation is allowed.