catdef.spad line 1421 [edit on github]

SetCategory is the basic category for describing a collection of elements with = (equality) and coerce to output form. Conditional Attributes: canonical data structure equality is the same as =

=: (%, %) -> Boolean

from BasicType

~=: (%, %) -> Boolean

from BasicType

coerce: % -> OutputForm

from CoercibleTo OutputForm

hash: % -> SingleInteger

hash(s) calculates a hash code for s.

hashUpdate!: (HashState, %) -> HashState

hashUpdate!(hs, s) computes new HashState from old and s used for incremental computation of hash values. hashUpdate! might destructively work on its first argument.

latex: % -> String

latex(s) returns a LaTeX-printable output representation of s.


CoercibleTo OutputForm