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

class chain_hyper {#class-chain_hyper}

Class chain_hyper is a subclass of the general binary relation class hyper. It redefines the ->unlink_from and ->unlink_to methods, making both objects dependent. I.e. if the <-from object is deleted, the ->to will be sent a ->destroy or ->free and visa-versa.

If dependent destruction is not desired after all, the user should first ->free the hyper-relation.

Send methods {#class-chain_hyper-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.