[commit: ghc] master: Fix mismatched tick in GHC.Generics documentation (f60287c)

git at git.haskell.org git at git.haskell.org
Mon Jan 30 14:34:12 UTC 2017


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

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

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

commit f60287c478a5f52bcb7e558c0995f552713772d1
Author: Ryan Scott <ryan.gl.scott at gmail.com>
Date:   Mon Jan 30 09:31:47 2017 -0500

    Fix mismatched tick in GHC.Generics documentation
    
    [ci skip]
    
    A Generic derivation example in the documentation of GHC.Generics put a tick
    (used for datatype promotion) in the wrong place.
    
    Fixes #13206.


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

f60287c478a5f52bcb7e558c0995f552713772d1
 libraries/base/GHC/Generics.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/base/GHC/Generics.hs b/libraries/base/GHC/Generics.hs
index 2ba16ed..8e128d4 100644
--- a/libraries/base/GHC/Generics.hs
+++ b/libraries/base/GHC/Generics.hs
@@ -76,7 +76,7 @@ module GHC.Generics  (
 --   type 'Rep' (Tree a) =
 --     'D1' ('MetaData \"Tree\" \"Main\" \"package-name\" 'False)
 --       ('C1' ('MetaCons \"Leaf\" 'PrefixI 'False)
---          ('S1' '(MetaSel 'Nothing
+--          ('S1' ('MetaSel 'Nothing
 --                          'NoSourceUnpackedness
 --                          'NoSourceStrictness
 --                          'DecidedLazy)



More information about the ghc-commits mailing list