We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da565bf commit f9d5bdbCopy full SHA for f9d5bdb
presentation/catching.tex
@@ -11,7 +11,7 @@ \subsection{Exceptions are values}
11
\begin{itemize}
12
\item Exceptions are ordinary values\footnotemark
13
\item No longer special: an extensible variant type (\text{``}not fully defined in one place\text{''})
14
-\item \mintinline{ocaml}{exception Exc} is equivalent to \mintinline{ocaml}{type exn += Exc of int}
+\item \mintinline{ocaml}{exception Exc of int} is equivalent to \mintinline{ocaml}{type exn += Exc of int}
15
\item Like variants, if the exception has no parameter, memory allocation isn't needed
16
\item Exceptions with parameter (\mintinline{ocaml}{exception <name> of <type>}) need heap allocation
17
\end{itemize}
0 commit comments