aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/domain.spad
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/domain.spad')
-rw-r--r--src/algebra/domain.spad13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/algebra/domain.spad b/src/algebra/domain.spad
index dec41cc2..1739efdc 100644
--- a/src/algebra/domain.spad
+++ b/src/algebra/domain.spad
@@ -33,13 +33,18 @@
)abbrev domain DOMAIN Domain
++ Author: Gabriel Dos Reis
++ Date Create: October 18, 2007.
-++ Date Last Updated: October 18, 2007.
-++ Basic Operations:
-++ Related Constructors: Type, OutputForm
+++ Date Last Updated: November 13, 2007.
+++ Basic Operations: coerce, reify
+++ Related Constructors: Type, Syntax, OutputForm
++ Also See: Type
Domain(): Public == Private where
- Public ==> CoercibleTo(OutputForm)
+ Public ==> CoercibleTo(OutputForm) with
+ reify: % -> Syntax
+ ++ reify(d) returns the abstract syntax for the domain `x'.
Private ==> add
coerce x ==
outputDomainConstructor(x)$Lisp
+ reify x ==
+ convert(devaluate(x)$Lisp)$Syntax
+