SetCategoryΒΆ
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 =
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- hash: % -> SingleInteger
hash(s)
calculates a hash code fors
.
- hashUpdate!: (HashState, %) -> HashState
hashUpdate!(hs, s)
computes new HashState from old ands
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 ofs
.