aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/array1.spad.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/array1.spad.pamphlet')
-rw-r--r--src/algebra/array1.spad.pamphlet3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/algebra/array1.spad.pamphlet b/src/algebra/array1.spad.pamphlet
index 17bc88f2..9ace920a 100644
--- a/src/algebra/array1.spad.pamphlet
+++ b/src/algebra/array1.spad.pamphlet
@@ -451,13 +451,12 @@ IndexedOneDimensionalArray(S:Type, mn:Integer):
++ This is the domain of 1-based one dimensional arrays
OneDimensionalArray(S:Type): Exports == Implementation where
- ARRAYMININDEX ==> 1 -- if you want to change this, be my guest
Exports == OneDimensionalArrayAggregate S with
oneDimensionalArray: List S -> %
++ oneDimensionalArray(l) creates an array from a list of elements l
oneDimensionalArray: (NonNegativeInteger, S) -> %
++ oneDimensionalArray(n,s) creates an array from n copies of element s
- Implementation == IndexedOneDimensionalArray(S, ARRAYMININDEX) add
+ Implementation == IndexedOneDimensionalArray(S, 1) add
oneDimensionalArray(u) == construct u
oneDimensionalArray(n,s) == new(n,s)