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

Remove some old-syntax attributes from examples.

parent 89f20f29
No related branches found
No related tags found
No related merge requests found
...@@ -132,7 +132,7 @@ end ...@@ -132,7 +132,7 @@ end
We now start a new theory, \texttt{Einstein}, which will contain all We now start a new theory, \texttt{Einstein}, which will contain all
the individuals of the problem. the individuals of the problem.
\begin{whycode} \begin{whycode}
theory Einstein "Einstein's problem" theory Einstein
\end{whycode} \end{whycode}
First, we introduce enumeration types for houses, colors, persons, First, we introduce enumeration types for houses, colors, persons,
drinks, cigars, and pets. drinks, cigars, and pets.
...@@ -194,7 +194,7 @@ end ...@@ -194,7 +194,7 @@ end
The next theory contains the 15 hypotheses. It starts by importing The next theory contains the 15 hypotheses. It starts by importing
theory \texttt{Einstein}. theory \texttt{Einstein}.
\begin{whycode} \begin{whycode}
theory EinsteinHints "Hints" theory EinsteinHints
use import Einstein use import Einstein
\end{whycode} \end{whycode}
Then each hypothesis is stated in terms of \texttt{to\_} and \texttt{of} Then each hypothesis is stated in terms of \texttt{to\_} and \texttt{of}
...@@ -214,7 +214,7 @@ end ...@@ -214,7 +214,7 @@ end
\end{whycode} \end{whycode}
Finally, we declare the goal in a fourth theory: Finally, we declare the goal in a fourth theory:
\begin{whycode} \begin{whycode}
theory Problem "Goal of Einstein's problem" theory Problem
use import Einstein use import Einstein
use import EinsteinHints use import EinsteinHints
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment