Browse Source

Cosmetics

Julian Ospald 4 years ago
parent
commit
4debb98557
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      VL1.tex

+ 1
- 1
VL1.tex View File

@@ -342,7 +342,7 @@ mod2 x
342 342
   | x - 2 < 0  = x
343 343
   | otherwise  = mod2 (x - 2)
344 344
 \end{lstlisting}
345
-These \verb#|# things above are called \textbf{guards} and are similar to \emph{pattern matching}. They are processed in order. If the condition on the left side of the equation is true, then it returns what stands on the right side of the equation. If it's false, then it processes the next line.\\ \emph{"otherwise"} on the last line is just defined as \emph{True}, to make these constructs reasier to read and catch all other cases of input.
345
+These \verb#|# things above are called \textbf{guards} and are similar to \emph{pattern matching}. They are processed in order. If the condition on the left side of the equation is true, then it returns what stands on the right side of the equation. If it's false, then it processes the next line.\\ \code{otherwise} on the last line is just defined as \code{True}, to make these constructs reasier to read and catch all other cases of input.
346 346
 \end{frame}
347 347
 
348 348
 \begin{frame}[fragile]