delete-at ( key assoc -- )
Factor handbook » The language » Collections » Associative mapping operations » Associative mapping protocol

Prev:set-at ( value key assoc -- )
Next:clear-assoc ( assoc -- )


Vocabulary
assocs

Inputs
keya key
assocan assoc


Outputs
None

Generic word contract
Removes an entry from the assoc.

Side effects
Modifies assoc

See also
delete-at*, ?delete-at

Definition

GENERIC: delete-at ( key assoc -- )


Methods










M:: bitcask delete-at ( key bitcask -- )
key bitcask index>> key? [
bitcask path>> binary
[ key write-tombstone key bitcask index>> delete-at ]
with-file-appender
] when ;