[commit: packages/filepath] master: Put the docs back, it seems to conflict with CPP some weird way (4285ef6)

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


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

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

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

commit 4285ef68d720d8c74666653b2ee32be1bd9b626c
Author: Neil Mitchell <ndmitchell at gmail.com>
Date:   Sun Oct 19 14:13:35 2014 +0100

    Put the docs back, it seems to conflict with CPP some weird way


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

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

diff --git a/System/FilePath/Internal.hs b/System/FilePath/Internal.hs
index 167766d..18a4ee4 100644
--- a/System/FilePath/Internal.hs
+++ b/System/FilePath/Internal.hs
@@ -30,10 +30,8 @@
 --
 -- 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