Commit 5465be35 authored by MARCHE Claude's avatar MARCHE Claude
Browse files

Fix missing imports in tutorial

parent 6f012f7d
...@@ -344,6 +344,7 @@ depending on whether the index is meaningful or not. ...@@ -344,6 +344,7 @@ depending on whether the index is meaningful or not.
\begin{whycode} \begin{whycode}
module SearchingALinkedList module SearchingALinkedList
use import int.Int use import int.Int
use import option.Option
use export list.List use export list.List
use export list.Length use export list.Length
use export list.Nth use export list.Nth
...@@ -795,6 +796,7 @@ operations we will require: length, reversal, and concatenation. ...@@ -795,6 +796,7 @@ operations we will require: length, reversal, and concatenation.
\begin{whycode} \begin{whycode}
module AmortizedQueue module AmortizedQueue
use import int.Int use import int.Int
use import option.Option
use export list.ListRich use export list.ListRich
\end{whycode} \end{whycode}
The queue data type is naturally introduced as a polymorphic record type. The queue data type is naturally introduced as a polymorphic record type.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment