@@ -235,14 +235,16 @@ app (x :: xs) ys = x :: app xs xs; -- BROKEN
236\begin{SaveVerbatim}{vapperrmsg}
236\begin{SaveVerbatim}{vapperrmsg}
238−$ idris app.idr --check
238+$ idris vbroken.idr --check
239−app.idr:3:Can't unify Vect a m with Vect a (plus n m)
239+vbroken.idr:3:Can't unify Vect a (S (plus k k)) with Vect a (S (plus k m))
241\end{SaveVerbatim}
241\end{SaveVerbatim}
242\useverb{vapperrmsg}
242\useverb{vapperrmsg}
245−This error message suggests that there is a length mismatch between two vectors.
245+This error message suggests that there is a length mismatch between two vectors
246+--- we needed a vector of length \texttt{(S (k + m))}, but provided a vector
247+of length \texttt{(S (k + k))}.
246Note that the terms in the error message have been \emph{normalised}, so in
248Note that the terms in the error message have been \emph{normalised}, so in
247particular \texttt{n + m} has been reduced to \texttt{plus n m}.
249particular \texttt{n + m} has been reduced to \texttt{plus n m}.