chickadee » persistent-hash-map » map-delete!

(map-delete! map key [key ...])procedure

Deletes the given keys from map and returns it. Non-existing keys are ignored.

Example:

(define m
  (map->transient-map (persistent-map 'foo 1 'bar 2)))

(map-delete! m 'bar)
(persist-map! m)
=> #<persistent-hash-map (foo . 1)>