[commit: ghc] master: Fix typo in `traceShowM` haddock comment (#10392) (dd5cac7)

git at git.haskell.org git at git.haskell.org
Fri Jun 12 17:40:44 UTC 2015


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

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

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

commit dd5cac7cd379367d29c3ca486989f5c32e5ae848
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Fri Jun 12 19:30:36 2015 +0200

    Fix typo in `traceShowM` haddock comment (#10392)
    
    [skip ci]


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

dd5cac7cd379367d29c3ca486989f5c32e5ae848
 libraries/base/Debug/Trace.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/base/Debug/Trace.hs b/libraries/base/Debug/Trace.hs
index 47abcae..16aba3c 100644
--- a/libraries/base/Debug/Trace.hs
+++ b/libraries/base/Debug/Trace.hs
@@ -169,9 +169,9 @@ Like 'traceM', but uses 'show' on the argument to convert it to a 'String'.
 
 > ... = do
 >   x <- ...
->   traceMShow $ x
+>   traceShowM $ x
 >   y <- ...
->   traceMShow $ x + y
+>   traceShowM $ x + y
 
 @since 4.7.0.0
 -}



More information about the ghc-commits mailing list