Search

( bag-search! ( bag? bag ) element ( procedure? failure ) ( procedure? success ) ) ( values bag? * )
Typing of parameters and result
( failure ( procedure? insert ) ( procedure? ignore ) ) *
( insert obj ) *
( ignore obj ) *
( success element ( procedure? update ) ( procedure? remove ) ) *
( update new-element obj ) *
( remove obj ) *