src/swipl-devel/packages/xpce/man/refmanual/md/chain_table.md

class chain_table {#class-chain_table}

A chain table is similar to a hash-table, but allows multiple values to be associated with the same key. Each symbol-value is a chain holding all objects associated with the symbol-key.

NOTE: In earlier versions, class hash_table supported the option unique. The interface to non-unique hash-tables however was clumsy, while the performance of normal hash-tables was harmed by this option. Chain_tables are a much cleaner solution to the same problem.

Send methods {#class-chain_table-send}



Try the rswipl package in your browser

Any scripts or data that you put into this service are public.

rswipl documentation built on June 16, 2026, 5:07 p.m.