aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/array1.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-11-20 20:05:35 +0000
committerdos-reis <gdr@axiomatics.org>2008-11-20 20:05:35 +0000
commit003d8009ff08ef11901956ac887422cea0cc4b55 (patch)
tree490f1f62576c12798021f11af19bea21f8cc579a /src/algebra/array1.spad.pamphlet
parent87f397a2fabcf265efb39d1be4c2b87633579e19 (diff)
downloadopen-axiom-003d8009ff08ef11901956ac887422cea0cc4b55.tar.gz
* algebra/wtpol.spad.pamphlet (WeightedPolynomials): No
HomotopicTo P. (OrdinaryWeightedPolynomials): Likewise. * algebra/modmonom.spad.pamphlet (ModuleMonomial): Now HomotopicTo MM. * algebra/matrix.spad.pamphlet (coerce$RectangularMatrix): Remove redundant signature. * algebra/lodop.spad.pamphlet (OrdinaryDifferentialRing): Now HomotopicTo HomotopicTo R. * algebra/alql.spad.pamphlet (DataList): Now HomotopicTo List S. * algebra/array1.spad.pamphlet (Tuple): Now HomotopicTo PrimitiveArray S. * algebra/kl.spad.pamphlet (CachableSet): Now HomotopicTo S. * algebra/java.spad.pamphlet (JavaBytecode): Now HomotopicTo Byte. * algebra/fname.spad.pamphlet (FileNameCategory): Extends HomotopicTo String. * algebra/data.spad.pamphlet (Byte): Now HomotopicTo Character.
Diffstat (limited to 'src/algebra/array1.spad.pamphlet')
-rw-r--r--src/algebra/array1.spad.pamphlet4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/algebra/array1.spad.pamphlet b/src/algebra/array1.spad.pamphlet
index 2d1d3a27..85368781 100644
--- a/src/algebra/array1.spad.pamphlet
+++ b/src/algebra/array1.spad.pamphlet
@@ -92,9 +92,7 @@ PrimitiveArrayFunctions2(A, B): Exports == Implementation where
)abbrev domain TUPLE Tuple
++ This domain is used to interface with the interpreter's notion
++ of comma-delimited sequences of values.
-Tuple(S:Type): CoercibleTo(PrimitiveArray S) with
- coerce: PrimitiveArray S -> %
- ++ coerce(a) makes a tuple from primitive array a
+Tuple(S:Type): HomotopicTo (PrimitiveArray S) with
select: (%, NonNegativeInteger) -> S
++ select(x,n) returns the n-th element of tuple x.
++ tuples are 0-based