diff --git a/chapters/05-functions.tex b/chapters/05-functions.tex index 5697617..55d855c 100644 --- a/chapters/05-functions.tex +++ b/chapters/05-functions.tex @@ -367,7 +367,7 @@ \subsection{If} \end{erlang} It should be noted that pattern matching in function clauses can be used to replace \texttt{if} cases (most of the time). -Overuse of \texttt{if} sentences withing function bodies is considered a bad Erlang practice. +Overuse of \texttt{if} sentences within function bodies is considered a bad Erlang practice. \subsection{Case} diff --git a/chapters/07-error-handling.tex b/chapters/07-error-handling.tex index 13a9a02..9b43156 100644 --- a/chapters/07-error-handling.tex +++ b/chapters/07-error-handling.tex @@ -69,7 +69,7 @@ \section{Exception classes and error reasons} \texttt{timeout\_value} & The timeout value in a \texttt{receive}$...$\texttt{after} expression is evaluated to something else than an integer or infinity\tabularnewline \hline -\texttt{noproc} & Trying to link to a non-existant process\tabularnewline +\texttt{noproc} & Trying to link to a non-existent process\tabularnewline \hline \texttt{\{nocatch, Value\}} & Trying to evaluate a \texttt{throw} outside of a \texttt{catch}. \texttt{Value} is the thrown term\tabularnewline