@@ -40,7 +40,7 @@ modules and the definitions in each module each have their own
4040namespace. This is discussed further in Section
4141:ref:`sect-namespaces`). When writing Idris programs both the order in which
4242definitions are given and indentation are significant. Functions and
43−data types must be defined before use, incidently each definition must
43+data types must be defined before use, incidentally each definition must
4444have a type declaration, for example see ``x : Int``, ``foo :
4545String``, from the above listing. New declarations must begin at the
4646same level of indentation as the preceding declaration.
@@ -901,10 +901,10 @@ Records
901901
902902*Records* are data types which collect several values (the record's
903903*fields*) together. Idris provides syntax for defining records and
904−*automatically generating field access and update functions*. Unlike
905−*the syntax used for data structures, records in Idris follow a
906−*different syntax to that seen with Haskell. For example, we can
907−*represent a person's name and age in a record:
904+automatically generating field access and update functions. Unlike
905+the syntax used for data structures, records in Idris follow a
906+different syntax to that seen with Haskell. For example, we can
907+represent a person's name and age in a record:
908908
909909.. code-block:: idris
910910
@@ -1024,7 +1024,7 @@ Foe example:
10241024 className : String
10251025
10261026**Note** that it is no longer possible to use the ``addStudent``
1027−method from earlier as that would change the size of the class. To provide an add student the function must specify in the type that the size of the class has been increased by one. As the size if specified using natural numbers, the new value can be incremeated using the successor constructor.
1027+method from earlier as that would change the size of the class. To provide an add student the function must specify in the type that the size of the class has been increased by one. As the size if specified using natural numbers, the new value can be incremented using the successor constructor.
10281028
10291029.. code-block:: idris
10301030