Skip to content

Commit

Permalink
fix bad formatting after overflow by #833
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornregnell committed Nov 21, 2024
1 parent 5e858b8 commit febbf12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickref/quickref.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1008,10 +1008,10 @@
& \texttt{xs.lengthCompare(n)} & Returns -1 if xs is shorter than n, +1 if it is longer, else 0. \\\cline{1-3}


Index & \texttt{xs.indexOf(x)} & The index of the first element in xs equal to x, or -1 if not found.\\ \cline{2-3}
search: & \texttt{xs.lastIndexOf(x)} & The index of the last element in xs equal to x, or -1 if not found.\\\cline{2-3}
Index & \texttt{xs.indexOf(x)} & Index of first element in xs equal to x, or -1 if not found.\\ \cline{2-3}
search: & \texttt{xs.lastIndexOf(x)} & Index of last element in xs equal to x, or -1 if not found.\\\cline{2-3}
& \texttt{xs.indexOfSlice(ys) \newline xs.lastIndexOfSlice(ys)} & The (last) index of xs such that successive elements starting from that index form the sequence ys. Returns -1 if not found.\\\cline{2-3}
& \texttt{xs.indexWhere(p)} & The index of the first element in xs that satisfies p, or -1 if not found.\\\cline{2-3}
& \texttt{xs.indexWhere(p)} & Index of first element in xs satisfying p, or -1 if not found.\\\cline{2-3}
& \texttt{xs.segmentLength(p, i)} & The length of the longest uninterrupted segment of elements in xs, starting with xs(i), that all satisfy the predicate p.\\\cline{2-3}
& \texttt{xs.prefixLength(p)} & Same as \texttt{ xs.segmentLength(p, 0)}\\\cline{1-3}

Expand Down

0 comments on commit febbf12

Please sign in to comment.