[commit: packages/pretty] master: Fix typo (5f1a7bf)

git at git.haskell.org git at git.haskell.org
Thu Feb 2 19:15:11 UTC 2017


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

On branch  : master
Link       : http://git.haskell.org/packages/pretty.git/commitdiff/5f1a7bf2d18b06e1692593c417a56ef022dac5e4

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

commit 5f1a7bf2d18b06e1692593c417a56ef022dac5e4
Author: Christoph Hegemann <kRITZCREEK at users.noreply.github.com>
Date:   Mon Apr 25 12:34:09 2016 +0200

    Fix typo


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

5f1a7bf2d18b06e1692593c417a56ef022dac5e4
 src/Text/PrettyPrint/HughesPJ.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Text/PrettyPrint/HughesPJ.hs b/src/Text/PrettyPrint/HughesPJ.hs
index 3780e21..0925774 100644
--- a/src/Text/PrettyPrint/HughesPJ.hs
+++ b/src/Text/PrettyPrint/HughesPJ.hs
@@ -299,7 +299,7 @@ vcat = liftList Ann.vcat
 --
 -- * @'nest' k ('nest' k' x) = 'nest' (k+k') x@
 --
--- * @'nest' k (x '<>' y) = 'nest' k z '<>' 'nest' k y@
+-- * @'nest' k (x '<>' y) = 'nest' k x '<>' 'nest' k y@
 --
 -- * @'nest' k (x '$$' y) = 'nest' k x '$$' 'nest' k y@
 --



More information about the ghc-commits mailing list