Skip to content

Commit

Permalink
Update description of xs.indices lunduniversity#692
Browse files Browse the repository at this point in the history
Made the description of the xs.indices match the description in the compendium.
  • Loading branch information
Filip-afKlinteberg authored Oct 11, 2022
1 parent 761cd2d commit 9d743ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickref/quickref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@
Indexing & \texttt{xs(i) ~ xs.apply(i)} & The element of xs at index i.\\ \cline{2-3}
and size: & \texttt{xs.length} & Length of sequence. Same as \texttt{size} in \texttt{Iterable}.\\\cline{2-3}
& \texttt{xs.indices} & Returns a \texttt{Range} extending from 0 to xs.length - 1.\\\cline{2-3}
& \texttt{xs.indices} & Returns a \texttt{Range} extending from 0 until xs.length.\\\cline{2-3}
& \texttt{xs.isDefinedAt(i)} & True if i is contained in xs.indices.\\\cline{2-3}
& \texttt{xs.lengthCompare(n)} & Returns -1 if xs is shorter than n, +1 if it is longer, else 0. \\\cline{1-3}
Expand Down

0 comments on commit 9d743ea

Please sign in to comment.