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 | |
parent | 227e4630323bce249cad25cd4f58e96044d72082 (diff) | |
download | open-axiom-6c8119a8b2cc0b039dced28cf6cc1c6df45c59f7.tar.gz |
Remove obfuscation
Diffstat (limited to 'src')
-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) |