Ticket #267 (new defect)
Opened 7 weeks ago
Docs on arguments parsing failures
|Reported by:||nyvo||Owned by:|
While the following parses fine:
f :: (Show a) => a -- ^ Doc on /a/. -> b -- ^ Doc on /b/. -> c -- ^ Doc on /c/.
All the following fail:
f :: (Show a) -- | Doc on /a/. => a -- | Doc on /b/. -> b -- | Doc on /c/. -> c
And the most irritating:
f :: (Show a) => -- | Doc on /a/. a -> -- | Doc on /b/. b -> -- | Doc on /c/. c
Thereby haddock imposes a certain formatting style, which is not very nice and not at all of its concern.