Joachim Breitner
2015-08-19 14:33:20 UTC
Hi,
with the latest pandoc, shipped in LTS-3, util/GenerateManpage.hs is
broken:
ghc util/GenerateManpage.hs
[1 of 1] Compiling Main ( util/GenerateManpage.hs, util/GenerateManpage.o )
util/GenerateManpage.hs:45:1:
Non type-variable argument
in the constraint: RegexContext Regex source1 [[[Char]]]
(Use FlexibleContexts to permit this)
When checking that `guessKeys' has the inferred type
guessKeys :: forall source1.
(RegexContext Regex source1 [[[Char]]],
RegexContext Regex source1 (String, String, String, [String])) =>
source1 -> [Char]
util/GenerateManpage.hs:84:11:
Couldn't match expected type `Pandoc'
with actual type `Either Text.Pandoc.Error.PandocError Pandoc'
In the second argument of `($)', namely `parsed'
In a stmt of a 'do' block:
writeFile "./man/xmonad.1"
. (manHeader ++)
. writeMan
(writeOpts {writerStandalone = True, writerTemplate = template})
$ parsed
util/GenerateManpage.hs:99:11:
Couldn't match expected type `Pandoc'
with actual type `Either Text.Pandoc.Error.PandocError Pandoc'
In the second argument of `($)', namely `parsed'
In a stmt of a 'do' block:
writeFile "./man/xmonad.1.html"
. writeHtmlString
(writeOpts
{writerVariables = [("include-before",
"<h1>"
++
releaseName
++
"</h1>"
++
"<p>Section: xmonad manual (1)<br/>"
++ "Updated: " ++ releaseDate ++ "</p>" ++ "<hr/>")],
writerStandalone = True, writerTemplate = template,
writerTableOfContents = True})
$ parsed
make: *** [build/xmonad] Error 1
Greetings,
Joachim
with the latest pandoc, shipped in LTS-3, util/GenerateManpage.hs is
broken:
ghc util/GenerateManpage.hs
[1 of 1] Compiling Main ( util/GenerateManpage.hs, util/GenerateManpage.o )
util/GenerateManpage.hs:45:1:
Non type-variable argument
in the constraint: RegexContext Regex source1 [[[Char]]]
(Use FlexibleContexts to permit this)
When checking that `guessKeys' has the inferred type
guessKeys :: forall source1.
(RegexContext Regex source1 [[[Char]]],
RegexContext Regex source1 (String, String, String, [String])) =>
source1 -> [Char]
util/GenerateManpage.hs:84:11:
Couldn't match expected type `Pandoc'
with actual type `Either Text.Pandoc.Error.PandocError Pandoc'
In the second argument of `($)', namely `parsed'
In a stmt of a 'do' block:
writeFile "./man/xmonad.1"
. (manHeader ++)
. writeMan
(writeOpts {writerStandalone = True, writerTemplate = template})
$ parsed
util/GenerateManpage.hs:99:11:
Couldn't match expected type `Pandoc'
with actual type `Either Text.Pandoc.Error.PandocError Pandoc'
In the second argument of `($)', namely `parsed'
In a stmt of a 'do' block:
writeFile "./man/xmonad.1.html"
. writeHtmlString
(writeOpts
{writerVariables = [("include-before",
"<h1>"
++
releaseName
++
"</h1>"
++
"<p>Section: xmonad manual (1)<br/>"
++ "Updated: " ++ releaseDate ++ "</p>" ++ "<hr/>")],
writerStandalone = True, writerTemplate = template,
writerTableOfContents = True})
$ parsed
make: *** [build/xmonad] Error 1
Greetings,
Joachim
--
Joachim ânomeataâ Breitner
***@joachim-breitner.de ⢠http://www.joachim-breitner.de/
Jabber: ***@joachim-breitner.de ⢠GPG-Key: 0xF0FBF51F
Debian Developer: ***@debian.org
Joachim ânomeataâ Breitner
***@joachim-breitner.de ⢠http://www.joachim-breitner.de/
Jabber: ***@joachim-breitner.de ⢠GPG-Key: 0xF0FBF51F
Debian Developer: ***@debian.org