aboutsummaryrefslogtreecommitdiff
path: root/src/algebra
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-05-18 19:58:57 +0000
committerdos-reis <gdr@axiomatics.org>2013-05-18 19:58:57 +0000
commit0433b6827a5e2abfeea9a13fd76020aacb84ee92 (patch)
tree88a37c9556928f94989bae054b58a7a223b27c1d /src/algebra
parentdc013cafe3022b417b948d5ebda532b8ed7cb00b (diff)
downloadopen-axiom-0433b6827a5e2abfeea9a13fd76020aacb84ee92.tar.gz
Tidy
Diffstat (limited to 'src/algebra')
-rw-r--r--src/algebra/aggcat.spad.pamphlet6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algebra/aggcat.spad.pamphlet b/src/algebra/aggcat.spad.pamphlet
index ccfe2d44..36de84b1 100644
--- a/src/algebra/aggcat.spad.pamphlet
+++ b/src/algebra/aggcat.spad.pamphlet
@@ -279,7 +279,7 @@ Collection(S:Type): Category == HomogeneousAggregate(S) with
++ removeDuplicates(u) returns a copy of u with all duplicates removed.
if S has ConvertibleTo InputForm then ConvertibleTo InputForm
add
- if % has finiteAggregate then
+ if % has FiniteAggregate S then
find(f:S -> Boolean, c:%) == find(f, members c)
remove(f:S->Boolean, x:%) ==
construct remove(f, members x)
@@ -524,7 +524,7 @@ DictionaryOperations(S:SetCategory): Category ==
-- remove!: (S->Boolean,%,NonNegativeInteger) -> %
-- ++ remove!(p,d,n) destructively changes dictionary d by removing
-- ++ up to n entries x such that \axiom{p(x)} is true.
- if % has finiteAggregate then
+ if % has FiniteAggregate S then
remove!: (S,%) -> %
++ remove!(x,d) destructively changes dictionary d by removing
++ all entries y such that \axiom{y = x}.
@@ -1035,7 +1035,7 @@ IndexedAggregate(Index: SetCategory, Entry: Type): Category ==
-- map: ((Entry,Entry)->Entry,%,%,Entry) -> %
-- ++ exists c = map(f,a,b,x), i:Index where
-- ++ c.i = f(a(i,x),b(i,x)) | index?(i,a) or index?(i,b)
- if Entry has BasicType and % has finiteAggregate then
+ if Entry has BasicType and % has FiniteAggregate Entry then
entry?: (Entry,%) -> Boolean
++ entry?(x,u) tests if x equals \axiom{u . i} for some index i.
if Index has OrderedSet then