Skip to content
Snippets Groups Projects
Commit 74c29c96 authored by Guillaume Melquiond's avatar Guillaume Melquiond
Browse files

Fix broken links.

parent 9d26e427
No related branches found
No related tags found
No related merge requests found
...@@ -189,8 +189,8 @@ constructed. ...@@ -189,8 +189,8 @@ constructed.
Here is the way we build the formula $2+2=4$. The main difficulty is to Here is the way we build the formula $2+2=4$. The main difficulty is to
access the internal identifier for addition: it must be retrieved from access the internal identifier for addition: it must be retrieved from
the standard theory \texttt{Int} of the file \texttt{int.why} (see the standard theory \texttt{Int} of the file \texttt{int.why}.
Chap~\ref{sec:library}). % (see Chap~\ref{sec:library}).
\lstinputlisting{generated/logic__buildfmla.ml} \lstinputlisting{generated/logic__buildfmla.ml}
An important point to notice as that when building the application of An important point to notice as that when building the application of
$+$ to the arguments, it is checked that the types are correct. Indeed $+$ to the arguments, it is checked that the types are correct. Indeed
......
...@@ -118,8 +118,14 @@ extraction command line: ...@@ -118,8 +118,14 @@ extraction command line:
\paragraph{Examples.} \paragraph{Examples.}
We illustrate different ways of using the \texttt{extract} command through some We illustrate different ways of using the \texttt{extract} command through some
examples. Consider the program in Figure~\ref{fig:AQueue} on examples.
page~\pageref{fig:AQueue}. If we are only interested in extracting function \begin{latexonly}
Consider the program in Figure~\ref{fig:AQueue} on page~\pageref{fig:AQueue}.
\end{latexonly}
\begin{htmlonly}
Consider the program of Section~\ref{sec:AQueue}.
\end{htmlonly}
If we are only interested in extracting function
\texttt{enqueue}, we can proceed as follows: \texttt{enqueue}, we can proceed as follows:
\begin{verbatim} \begin{verbatim}
> why3 extract -D ocaml64 -L . aqueue.AmortizedQueue.enqueue -o aqueue.ml > why3 extract -D ocaml64 -L . aqueue.AmortizedQueue.enqueue -o aqueue.ml
......
...@@ -931,6 +931,7 @@ end ...@@ -931,6 +931,7 @@ end
%END LATEX %END LATEX
\section{Problem 5: Amortized Queue} \section{Problem 5: Amortized Queue}
\label{sec:AQueue}
The last problem consists in verifying the implementation of a The last problem consists in verifying the implementation of a
well-known purely applicative data structure for queues. well-known purely applicative data structure for queues.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment