aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockDevHelp.hs
diff options
context:
space:
mode:
authorpanne <unknown>2004-08-02 21:12:27 +0000
committerpanne <unknown>2004-08-02 21:12:27 +0000
commit13847171a3b1733b876bff8e157f8c97c665d1a6 (patch)
tree3e8aa3774feaf2aec1fb87bb22e9a1e69ee2d708 /src/HaddockDevHelp.hs
parent37830bff36b9344c11694d642bca9789f435dede (diff)
[haddock @ 2004-08-02 21:12:25 by panne]
Use pathJoin instead of low-level list-based manipulation for FilePaths
Diffstat (limited to 'src/HaddockDevHelp.hs')
-rw-r--r--src/HaddockDevHelp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockDevHelp.hs b/src/HaddockDevHelp.hs
index 3ebfc1c3..23f3bfc6 100644
--- a/src/HaddockDevHelp.hs
+++ b/src/HaddockDevHelp.hs
@@ -32,7 +32,7 @@ ppDevHelpFile odir doctitle maybe_package ifaces = do
nest 4 (ppList index) $+$
text "</functions>" $$
text "</book>"
- writeFile (odir ++ pathSeparator:devHelpFile) (render doc)
+ writeFile (pathJoin [odir, devHelpFile]) (render doc)
where
package = fromMaybe "pkg" maybe_package