aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/outform.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/outform.spad.pamphlet')
-rw-r--r--src/algebra/outform.spad.pamphlet3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/algebra/outform.spad.pamphlet b/src/algebra/outform.spad.pamphlet
index 9880f30e..15f3c259 100644
--- a/src/algebra/outform.spad.pamphlet
+++ b/src/algebra/outform.spad.pamphlet
@@ -476,6 +476,7 @@ OutputForm(): SetCategory with
== add
import NumberFormats
+ import %equal: (%,%) -> Boolean from Foreign Builtin
-- Todo:
-- program forms, greek letters
@@ -510,7 +511,7 @@ OutputForm(): SetCategory with
print x == mathprint(x)$Lisp
message s == (empty? s => empty(); s pretend %)
messagePrint s == print message s
- (a:% = b:%): Boolean == EQUAL(a, b)$Lisp
+ (a:% = b:%): Boolean == %equal(a,b)
(a:% = b:%):% == bless [eform '=, a, b]
coerce(a):OutputForm == a pretend OutputForm
outputForm n == n pretend %