Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Traverse.hs: substitute NBSP (0xC2 0xA0) to SP (0x20)

Before patching ./setup haddock failed to parse some comments:

     100% (  3 /  3) in 'System.Directory.Layout.Internal'
    doc comment parse failed:  Make layout as specified

     For example, suppose you are in an empty directory

     @
     % tree
     .
     @

After patch everything renders correctly.

Haddock-bug: http://trac.haskell.org/haddock/ticket/250
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
commit 8c07408eab3b8d46ddacc7eb2d448b8772fb19a3 1 parent 784a063
@trofi trofi authored
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/System/Directory/Layout/Traverse.hs
View
12 src/System/Directory/Layout/Traverse.hs
@@ -54,11 +54,11 @@ changeDir fp = local (</> fp)
-- % tree
-- .
-- ├── baz
--- │   └── twey
+-- │ └── twey
-- └── foo
-- ├── bar
--- │   ├── quuz
--- │   └── tatata
+-- │ ├── quuz
+-- │ └── tatata
-- └── quux
-- @
--
@@ -88,11 +88,11 @@ makeDirectory p = ask >>= \d -> anyfail $ createDirectory (d </> p)
-- % tree
-- .
-- ├── baz
--- │   └── twey
+-- │ └── twey
-- └── foo
-- ├── bar
--- │   ├── quuz
--- │   └── tatata
+-- │ ├── quuz
+-- │ └── tatata
-- └── quux
-- @
--
Please sign in to comment.
Something went wrong with that request. Please try again.