Changes between Version 4 and Version 5 of Arrays


Ignore:
Timestamp:
09/15/13 09:17:46 (13 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Arrays

    v4 v5  
    5959== Sequence Operations ==
    6060
    61 The following operations are available for arrays:
     61The following operations are available for true arrays:
    6262
    6363* `int $length(T a[[]])`
     
    7070 * returns the result of removing the element at index `i` from the array `a` (with subsequent elements shifted down)
    7171* `T[[]] $subseq(T a[[]], int start, int end)`
    72  * returns the subsequence of `a` starting at index `start` and ending at index `end-1`
     72 * returns the sub-array of `a` starting at index `start` and ending at index `end-1`
    7373* `T[[]] $write(T a[[]], int i, T x)`
    74  * returns the sequence obtained by replacing the element of `a` at index `i` with `x`
     74 * returns the array obtained by replacing the element of `a` at index `i` with `x`
    7575
    7676== Other related ideas ==