Vocabulary
dlists

Inputs
dlistdlist
quota quotation


Outputs
obj/fan object or f


Word description
Like delete-node-if* but cannot distinguish from deleting a node whose value is f or not deleting an element.

Notes
This operation is O(n).

Definition


: delete-node-if
( ... dlist quot: ( ... value -- ... ? ) -- ... obj/f )
[ [ obj>> ] ] dip compose delete-node-if* drop ; inline