[commit: packages/filepath] master: Load the generator into ghci (5dd2ad5)
git at git.haskell.org
git at git.haskell.org
Thu Mar 19 11:36:19 UTC 2015
Repository : ssh://git@git.haskell.org/filepath
On branch : master
Link : http://git.haskell.org/packages/filepath.git/commitdiff/5dd2ad5fc39cdefb838f8abcbb5e5d080d7c9b78
>---------------------------------------------------------------
commit 5dd2ad5fc39cdefb838f8abcbb5e5d080d7c9b78
Author: Neil Mitchell <ndmitchell at gmail.com>
Date: Wed Oct 29 08:21:47 2014 +0000
Load the generator into ghci
>---------------------------------------------------------------
5dd2ad5fc39cdefb838f8abcbb5e5d080d7c9b78
.ghci | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.ghci b/.ghci
index dc49947..f265108 100644
--- a/.ghci
+++ b/.ghci
@@ -1,10 +1,11 @@
:set -fwarn-unused-binds -fwarn-unused-imports
:set -isrc -itest
-:load System.FilePath System.FilePath.Windows System.FilePath.Posix
+:load System.FilePath System.FilePath.Windows System.FilePath.Posix Generate
import qualified System.FilePath.Windows as Windows
import qualified System.FilePath.Posix as Posix
:def docs_ const $ return $ unlines [":!cabal haddock"]
:def docs const $ return $ unlines [":docs_",":!start dist\\doc\\html\\filepath\\System-FilePath.html"]
+:def gen const $ return "Generate.main"
:def test const $ return $ unlines [":!runhaskell Generate.hs",":!cabal test"]
More information about the ghc-commits
mailing list