Function: -replace-where

-replace-where is a function alias for -map-when, defined in dash.el.

Signature

(-replace-where PRED REP LIST)

Documentation

Use PRED to conditionally apply REP to each item in LIST.

Return a copy of LIST where the items for which PRED returns nil are unchanged, and the rest are mapped through the REP function.

Alias: -replace-where

See also: -update-at

Aliases

-replace-where