[commit: ghc] master: Fix typo in users' guide (26ce99c)

git at git.haskell.org git at git.haskell.org
Wed Dec 14 18:17:30 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/26ce99cc47446eba704c867fbd2d88f31c325805/ghc

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

commit 26ce99cc47446eba704c867fbd2d88f31c325805
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Wed Dec 14 13:16:40 2016 -0500

    Fix typo in users' guide
    
    [ci skip]


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

26ce99cc47446eba704c867fbd2d88f31c325805
 docs/users_guide/8.2.1-notes.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index ea22d4f..2e9033c 100644
--- a/docs/users_guide/8.2.1-notes.rst
+++ b/docs/users_guide/8.2.1-notes.rst
@@ -95,7 +95,7 @@ Compiler
 
   to define a synonym of ``T``, you must write::
 
-    data TSyn = (T :: (forall k. k -> Type) -> Type)
+    type TSyn = (T :: (forall k. k -> Type) -> Type)
 
 - The Mingw-w64 toolchain for the Windows version of GHC has been updated. GHC now uses
   `GCC 6.2.0` and `binutils 2.27`.



More information about the ghc-commits mailing list