diff options
author | dos-reis <gdr@axiomatics.org> | 2011-01-31 14:14:08 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-01-31 14:14:08 +0000 |
commit | 308c8ede509d3d186d6d43402b5335867ebdb49e (patch) | |
tree | b2e5516092366985a775f609bb3033b7eede626f /src/algebra/symbol.spad.pamphlet | |
parent | 03c09deff90cb2eb7a85730f7e74bce2df268b47 (diff) | |
download | open-axiom-308c8ede509d3d186d6d43402b5335867ebdb49e.tar.gz |
* interp/g-opt.boot ($VMsideEffectFreeOperators): Remove QCDR,
QCAR. SYMBOLP, GREATERP.
Add %ibit, %ilength, %ident, %equal.
* interp/g-util.boot: Expand them
* algebra/any.spad.pamphlet: Tidy.
* algebra/catdef.spad.pamphlet: Likewise.
* algebra/data.spad.pamphlet: Likewise.
* algebra/domain.spad.pamphlet: Likewise.
* algebra/float.spad.pamphlet: Likewise.
* algebra/fname.spad.pamphlet: Likewise.
* algebra/integer.spad.pamphlet: Likewise.
* algebra/list.spad.pamphlet: Likewise.
* algebra/outform.spad.pamphlet: Likewise.
* algebra/random.spad.pamphlet: Likewise.
* algebra/sex.spad.pamphlet: Likewise.
* algebra/si.spad.pamphlet: Likewise.
* algebra/symbol.spad.pamphlet: Likewise.
* algebra/syntax.spad.pamphlet: Likewise.
Diffstat (limited to 'src/algebra/symbol.spad.pamphlet')
-rw-r--r-- | src/algebra/symbol.spad.pamphlet | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/algebra/symbol.spad.pamphlet b/src/algebra/symbol.spad.pamphlet index 5268bca3..404465fe 100644 --- a/src/algebra/symbol.spad.pamphlet +++ b/src/algebra/symbol.spad.pamphlet @@ -70,6 +70,8 @@ Symbol(): Exports == Implementation where ++ sample() returns a sample of % Implementation ==> add + import %equal: (%,%) -> Boolean from Foreign Builtin + count: Reference(Integer) := ref 0 xcount: AssociationList(%, Integer) := empty() istrings:PrimitiveArray(String) := @@ -131,7 +133,7 @@ Symbol(): Exports == Implementation where convert(s:%):InputForm == convert(s pretend Symbol)$InputForm convert(s:%):Symbol == s pretend Symbol coerce(s:String):% == VALUES(INTERN(s)$Lisp)$Lisp - x = y == EQUAL(x,y)$Lisp + x = y == %equal(x,y) x < y == GGREATERP(y, x)$Lisp coerce(x:%):OutputForm == outputForm(x pretend Symbol) subscript(sy, lx) == script(sy, [lx, nil, nil(), nil(), nil()]) |