diff options
author | dos-reis <gdr@axiomatics.org> | 2013-05-13 02:17:06 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2013-05-13 02:17:06 +0000 |
commit | 6c8119a8b2cc0b039dced28cf6cc1c6df45c59f7 (patch) | |
tree | 795494744d916ff24e3cb465811f98e34024e4ff /src/algebra | |
parent | 227e4630323bce249cad25cd4f58e96044d72082 (diff) | |
download | open-axiom-6c8119a8b2cc0b039dced28cf6cc1c6df45c59f7.tar.gz |
Remove obfuscation
Diffstat (limited to 'src/algebra')
-rw-r--r-- | src/algebra/array1.spad.pamphlet | 3 |
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) |