<human>:  what is a quick way to delete all elements from a list that do not satisfy a constraint?
<bot>:

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.