[commit: ghc] master: Update Haddock submodule for collapsible section support (f109085)

git at git.haskell.org git at git.haskell.org
Wed Oct 29 09:38:37 UTC 2014


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

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

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

commit f1090855d9b8d33b3194364dcca0683d89049f03
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Oct 29 10:08:26 2014 +0100

    Update Haddock submodule for collapsible section support
    
    This also updates a few occurences of recently added "Example"
    headings to make use of this new feature for testing


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

f1090855d9b8d33b3194364dcca0683d89049f03
 libraries/base/Data/Bool.hs    | 2 +-
 libraries/base/Data/Functor.hs | 6 +++---
 libraries/base/Text/Printf.hs  | 2 +-
 utils/haddock                  | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libraries/base/Data/Bool.hs b/libraries/base/Data/Bool.hs
index ace5acf..1537198 100644
--- a/libraries/base/Data/Bool.hs
+++ b/libraries/base/Data/Bool.hs
@@ -37,7 +37,7 @@ import GHC.Base
 --
 --   /Since: 4.7.0.0/
 --
---   __Examples__:
+--   ==== __Examples__
 --
 --   Basic usage:
 --
diff --git a/libraries/base/Data/Functor.hs b/libraries/base/Data/Functor.hs
index 010ab50..0896947 100644
--- a/libraries/base/Data/Functor.hs
+++ b/libraries/base/Data/Functor.hs
@@ -33,7 +33,7 @@ infixl 4 <$>
 
 -- | An infix synonym for 'fmap'.
 --
---   __Examples__:
+--   ==== __Examples__
 --
 --   Convert from a 'Maybe' 'Int' to a 'Maybe' 'String' using 'show':
 --
@@ -70,7 +70,7 @@ infixl 4 $>
 --
 --   /Since: 4.7.0.0/
 --
---   __Examples__:
+--   ==== __Examples__
 --
 --   Replace the contents of a 'Maybe' 'Int' with a constant 'String':
 --
@@ -103,7 +103,7 @@ infixl 4 $>
 -- | @'void' value@ discards or ignores the result of evaluation, such
 --   as the return value of an 'IO' action.
 --
---   __Examples__:
+--   ==== __Examples__
 --
 --   Replace the contents of a 'Maybe' 'Int' with unit:
 --
diff --git a/libraries/base/Text/Printf.hs b/libraries/base/Text/Printf.hs
index d20e077..7cf4204 100644
--- a/libraries/base/Text/Printf.hs
+++ b/libraries/base/Text/Printf.hs
@@ -246,7 +246,7 @@ import System.IO
 -- * Haskell 'printf' will place a zero after a decimal point when
 --   possible.
 --
--- Examples:
+-- ==== __Examples__
 --
 -- >   > printf "%d\n" (23::Int)
 -- >   23
diff --git a/utils/haddock b/utils/haddock
index c3f27a9..3fb325a 160000
--- a/utils/haddock
+++ b/utils/haddock
@@ -1 +1 @@
-Subproject commit c3f27a96bd2a1ec14f441c72a2df95c16c2c5408
+Subproject commit 3fb325a2ca6b6397905116024922d079447a2e08



More information about the ghc-commits mailing list