@@ -10,7 +10,7 @@ module, a list of ``import`` statements giving the other modules which
1010are to be imported, and a collection of declarations and definitions of
1111types, classes and functions. For example, the listing below gives a
1212module which defines a binary tree type ``BTree`` (in a file
13−``btree.idr``):;
13+``btree.idr``):
1414
1515.. code-block:: idris
1616
@@ -32,8 +32,9 @@ module which defines a binary tree type ``BTree`` (in a file
3232 toTree [] = Leaf
3333 toTree (x :: xs) = insert x (toTree xs)
3434
35+
3536Then, this gives a main program (in a file
36−``bmain.idr``) which uses the ``bst`` module to sort a list::
37+``bmain.idr``) which uses the ``bst`` module to sort a list:
3738
3839.. code-block:: idris
3940
@@ -45,6 +46,7 @@ Then, this gives a main program (in a file
4546 main = do let t = toTree [1,8,2,7,9,3]
4647 print (btree.toList t)
4748
49+
4850The same names can be defined in multiple modules. This is possible
4951because in practice names are *qualified* with the name of the module.
5052The names defined in the ``btree`` module are, in full: