diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index 119de6b67917fd7d8a9a1004b859803782b955ad..7aaf1a80a679878e6ce7bfbbc8ae066266ad2935 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -3017,8 +3017,11 @@ GHC allows type constructors, classes, and type variables to be operators, and to be written infix, very much like expressions. More specifically: - A type constructor or class can be an operator, beginning with a colon; e.g. :*:. - The lexical syntax is the same as that for data constructors. + A type constructor or class can be any non-reserved operator. + Symbols used in types are always like capitalized identifiers; they + are never variables. Note that this is different from the lexical + syntax of data constructors, which are required to begin with a + :. Data type and type-synonym declarations can be written infix, parenthesised