[commit: ghc] master: Fix typo in user guide about promoted list (13e8bc0)

git at git.haskell.org git at git.haskell.org
Sat May 5 17:26:27 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/13e8bc0d7afa74d502a630c817840d390c328f6e/ghc

>---------------------------------------------------------------

commit 13e8bc0d7afa74d502a630c817840d390c328f6e
Author: Masahiro Sakai <masahiro.sakai at gmail.com>
Date:   Thu Apr 26 23:42:43 2018 +0900

    Fix typo in user guide about promoted list
    
    `:'` in explanation text should be `':` to match code example.


>---------------------------------------------------------------

13e8bc0d7afa74d502a630c817840d390c328f6e
 docs/users_guide/glasgow_exts.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/glasgow_exts.rst b/docs/users_guide/glasgow_exts.rst
index 26b7957..90ccb44 100644
--- a/docs/users_guide/glasgow_exts.rst
+++ b/docs/users_guide/glasgow_exts.rst
@@ -8478,7 +8478,7 @@ Haskell.
 
 .. note::
     The declaration for ``HCons`` also requires :extension:`TypeOperators`
-    because of infix type operator ``(:')``
+    because of infix type operator ``(':)``
 
 
 .. _promotion-existentials:



More information about the ghc-commits mailing list