on master help sign in
Merge pull request #2736 from enolan/improve-syntax-guide

Reference docs: correct sentence about type syntax.

commit5a3e5dbb2ee5fc3aadb756f8fc3e5a4561ecb703 authorEdwin Brady <edwin.brady@gmail.com> dateSun 1 Nov 2015, 20:49 (11 years ago) parent92bdae596c9239
1 file changed+4−1
docs/reference/syntax-guide.rst+4−1
docs/reference/syntax-guide.rst+4−1
@@ -112,7 +112,7 @@ Types
112112
113113In Idris, types are first class values. So a type declaration is the
114114same as just declaration of a variable whose type is ``Type``. In Idris,
115−variables that denote a type must begin with a capital letter. Example:
115+variables that denote a type need not be capitalised. Example:
116116
117117.. code:: idris
118118
@@ -126,6 +126,9 @@ a more interesting example:
126126 MyListType : Type
127127 MyListType = List Int
128128
129+While capitalising types is not required, the rules for generating implicit
130+arguments mean it is often a good idea.
131+
129132.. _syntax-data-types:
130133
131134Data types