aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/alql.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-09-15 15:09:25 +0000
committerdos-reis <gdr@axiomatics.org>2011-09-15 15:09:25 +0000
commit9025c74466dcd1c38dde5e4c63934ff0b2e4f18d (patch)
tree447b28f9159920ca29a18fa9647bf7120dc3619c /src/algebra/alql.spad.pamphlet
parentf5060cfd48a6993c7a6bd6b739e3d37bd234453a (diff)
downloadopen-axiom-9025c74466dcd1c38dde5e4c63934ff0b2e4f18d.tar.gz
* algebra/alql.spad.pamphlet (IndexCard): Now satisfies
CoercibleFrom String. Remove explicit coerce export. * algebra/carten.spad.pamphlet (CartesianTensor): Remove explicit coerce export. Add satisfaction of CoercibleFrom appropriate domains. * algebra/color.spad.pamphlet (Palette): Relace explicit coerce export with CoercibleTo %. * algebra/constant.spad.pamphlet (InnerAlgebraicNumber): Likewise. * algebra/dpolcat.spad.pamphlet (DifferentialVariableCategory): Likewise.
Diffstat (limited to 'src/algebra/alql.spad.pamphlet')
-rw-r--r--src/algebra/alql.spad.pamphlet6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/algebra/alql.spad.pamphlet b/src/algebra/alql.spad.pamphlet
index 38162c30..400c612e 100644
--- a/src/algebra/alql.spad.pamphlet
+++ b/src/algebra/alql.spad.pamphlet
@@ -41,7 +41,7 @@ DataList(S:OrderedSet) : Exports == Implementation where
++ This domain implements a container of information
++ about the AXIOM library
IndexCard() : Exports == Implementation where
- Exports == OrderedSet with
+ Exports == Join(OrderedSet,CoercibleFrom String) with
elt: (%,Symbol) -> String
++ elt(ic,s) selects a particular field from \axiom{ic}. Valid fields
++ are \axiom{name, nargs, exposed, type, abbreviation, kind, origin,
@@ -50,10 +50,6 @@ IndexCard() : Exports == Implementation where
++ display(ic) prints a summary of the information contained in \axiom{ic}.
fullDisplay: % -> Void
++ fullDisplay(ic) prints all of the information contained in \axiom{ic}.
- coerce: String -> %
- ++ coerce(s) converts \axiom{s} into an \axiom{IndexCard}. Warning: if
- ++ \axiom{s} is not of the right format then an error will occur when using
- ++ it.
Implementation == add
macro I == Integer
Rep == String