Next: , Previous: , Up: Top   [Contents][Index]


55 Range Tables

A range table is a table that efficiently associates values with ranges of integers.

Note that range tables have a read syntax, like this:

#s(range-table data ((-3 2) foo (5 20) bar))

This maps integers in the range (-3, 2) to foo and integers in the range (5, 20) to bar.

Function: range-table-p object

Return non-nil if object is a range table.