symbol.spad line 1 [edit on github]
Basic and scripted symbols.
argscript(s, [a1, ..., an]) returns s arg-scripted by [a1, ..., an].
coerce(s) converts the string s to a symbol.
elt(s, [a1, ..., an]) or s([a1, ..., an]) returns s subscripted by [a1, ..., an].
name(s) returns s without its scripts.
new() returns a new symbol whose name starts with %.
new(s) returns a new symbol whose name starts with %s.
resetNew() resets the internals counters that new() and new(s) use to return distinct symbols every time.
sample() returns a sample of %
script(s, [a, b, c, d, e]) returns s with subscripts a, superscripts b, pre-superscripts c, pre-subscripts d, and argument-scripts e. Omitted components are taken to be empty. For example, script(s, [a, b, c]) is equivalent to script(s, [a, b, c, [], []]).
script(s, [a, b, c, d, e]) returns s with subscripts a, superscripts b, pre-superscripts c, pre-subscripts d, and argument-scripts e.
scripted?(s) is true if s has been given any scripts.
scripts(s) returns all the scripts of s.
string(s) converts the symbol s to a string. Error: if the symbol is subscripted.
subscript(s, [a1, ..., an]) returns s subscripted by [a1, ..., an].
superscript(s, [a1, ..., an]) returns s superscripted by [a1, ..., an].