BAND-FILTER

[GENERIC-FUNCTION]


OM 6.1
Function Reference
ARGUMENTS:
  - list a list [default = (1 2 3 4 5)]
  - bounds a list of (low high) pairs [default = ((0 2) (5 10))]
  - mode pass or reject [default = pass]

Description:

Filters out <list> using <bounds>.
<bounds> is a pair or list of pairs (min-value max-value).

If <bounds> is a list of pairs, each pair is applied to each successive element in <list>

<mode> 'reject' means reject elements between the bounds
<mode> 'pass' means retain only elements between the bounds