aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/domain.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/domain.spad.pamphlet')
-rw-r--r--src/algebra/domain.spad.pamphlet7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/algebra/domain.spad.pamphlet b/src/algebra/domain.spad.pamphlet
index 571c14a8..0b4d5847 100644
--- a/src/algebra/domain.spad.pamphlet
+++ b/src/algebra/domain.spad.pamphlet
@@ -38,7 +38,7 @@ Category(): Public == Private where
++ Related Constructors: Type, Syntax, OutputForm
++ Also See: Type, ConstructorCall
Domain(): Public == Private where
- Public ==> CoercibleTo(OutputForm) with
+ Public == SetCategory with
reify: % -> ConstructorCall
++ reify(d) returns the abstract syntax for the domain `x'.
@@ -51,7 +51,7 @@ Domain(): Public == Private where
++ showSummary(d) prints out implementation detail information
++ of domain `d'.
- Private ==> add
+ Private == add
coerce x ==
outputDomainConstructor(x)$Lisp
@@ -61,6 +61,9 @@ Domain(): Public == Private where
reflect cc ==
evalDomain(cc)$Lisp @ %
+ x = y ==
+ reify x = reify y
+
showSummary x ==
showSummary(x)$Lisp