diff options
| author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-10-29 10:08:26 +0100 |
|---|---|---|
| committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-10-29 10:36:19 +0100 |
| commit | f1090855d9b8d33b3194364dcca0683d89049f03 (patch) | |
| tree | 96fbb363ab570d85e46452df4aabaf14ce3aa3d9 | |
| parent | 5f69c8efd94862261bc6730f8dd80c2b67b430ad (diff) | |
| download | haskell-f1090855d9b8d33b3194364dcca0683d89049f03.tar.gz | |
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
| -rw-r--r-- | libraries/base/Data/Bool.hs | 2 | ||||
| -rw-r--r-- | libraries/base/Data/Functor.hs | 6 | ||||
| -rw-r--r-- | libraries/base/Text/Printf.hs | 2 | ||||
| m--------- | utils/haddock | 0 |
4 files changed, 5 insertions, 5 deletions
diff --git a/libraries/base/Data/Bool.hs b/libraries/base/Data/Bool.hs index ace5acf447..15371982ea 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 010ab502e6..0896947417 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 d20e077b95..7cf4204e50 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 -Subproject c3f27a96bd2a1ec14f441c72a2df95c16c2c540 +Subproject 3fb325a2ca6b6397905116024922d079447a2e0 |
