diff options
-rw-r--r-- | src/ChangeLog | 2 | ||||
-rw-r--r-- | src/algebra/array1.spad.pamphlet | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d63e76e7..cb492b6d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -40,7 +40,7 @@ 2013-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net> - * algebra/array2.spad.pamphlet: Cleanu up. + * algebra/array2.spad.pamphlet: Clean up. 2013-05-11 Gabriel Dos Reis <gdr@integrable-solutions.net> 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) |