PtcRunner.Lisp.Runtime.Collection.Select (PtcRunner v0.10.1)

Copy Markdown View Source

Selection operations for PTC-Lisp collections: filter, remove, find, some, every?, not_any?, take_while, drop_while.

Each function is collapsed from ~10 type-dispatch clauses to 2-3 by delegating predicate/collection normalization to Collection.Normalize.

Summary

Functions

drop_while(pred, coll)

every?(pred, coll)

filter(pred, coll)

find(pred, coll)

not_any?(pred, coll)

not_every?(pred, coll)

remove(pred, coll)

some(pred, coll)

take_while(pred, coll)