[commit: packages/filepath] master: Fix up the docs so the code has the correct indentation (e447cc5)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 11:33:29 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/filepath.git/commitdiff/e447cc5fd19b43bac57311b9a4400bc8790cbaa2

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

commit e447cc5fd19b43bac57311b9a4400bc8790cbaa2
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 19 14:00:32 2014 +0100

    Fix up the docs so the code has the correct indentation


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

e447cc5fd19b43bac57311b9a4400bc8790cbaa2
 System/FilePath/Internal.hs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index 3db81b9..167766d 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -30,8 +30,10 @@
 --
 -- You want to download a file from the web and save it to disk:
 --
--- @do let file = 'makeValid' url
---    System.IO.createDirectoryIfMissing True ('takeDirectory' file)@
+--@
+--do let file = 'makeValid' url
+--   System.IO.createDirectoryIfMissing True ('takeDirectory' file)
+--@
 --
 -- You want to compile a Haskell file, but put the hi file under \"interface\"
 --



More information about the ghc-commits mailing list