CachableSetΒΆ

kl.spad line 1 [edit on github]

A cachable set is a set whose elements keep an integer as part of their structure.

=: (%, %) -> Boolean

from BasicType

~=: (%, %) -> Boolean

from BasicType

coerce: % -> OutputForm

from CoercibleTo OutputForm

latex: % -> String

from SetCategory

position: % -> NonNegativeInteger

position(x) returns the integer n associated to x.

setPosition: (%, NonNegativeInteger) -> Void

setPosition(x, n) associates the integer n to x.

BasicType

CoercibleTo OutputForm

SetCategory