in? ( key set -- ? )
Interval sets

Prev:<interval-set> ( specification -- interval-set )
Next:<interval-not> ( set maximum -- set' )


Vocabulary
interval-sets

Inputs and outputs
keyan integer
setan interval-set
?t or f


Word description
Tests whether an integer is in an interval set. This takes O(log n) time for an interval map composed of n intervals.

Definition