STD.Map.Template
data RawMap tpk tpv Source #
Defined in STD.Map.Template
Methods
cast :: Map tpk tpv -> (Ptr (RawMap tpk tpv) -> IO r) -> IO r
uncast :: Ptr (RawMap tpk tpv) -> (Map tpk tpv -> IO r) -> IO r
newtype Map tpk tpv Source #
Constructors
Associated Types
type Raw (Map tpk tpv)
get_fptr :: Map tpk tpv -> Ptr (Raw (Map tpk tpv))
cast_fptr_to_obj :: Ptr (Raw (Map tpk tpv)) -> Map tpk tpv
class IMap tpk tpv where Source #
newMap :: IO (Map tpk tpv) Source #
begin :: Map tpk tpv -> IO (MapIterator tpk tpv) Source #
end :: Map tpk tpv -> IO (MapIterator tpk tpv) Source #
insert :: Map tpk tpv -> Pair tpk tpv -> IO () Source #
size :: Map tpk tpv -> IO CInt Source #
deleteMap :: Map tpk tpv -> IO () Source #