[Haskell-cafe] Haddock fails on ConfigFile, but why?

Daniel Fischer daniel.is.fischer at googlemail.com
Sat Oct 22 00:50:48 CEST 2011

On Friday 21 October 2011, 23:49:45, Magnus Therning wrote:
> Would love to get some help on making Haddock accept ConfigFile[1]. The
> error message is about as far from helpful as you can get ;)
>   dist/build/tmp-15743/src/Data/ConfigFile/Monadic.hs:34:1:
>   parse error on input `import'
> The author is informed but is as confused as me, it seems[2].

Okay, a bit of experimentation showed that the imports must come before the 
haddock comment section $overview.

Whether it's a haddock bug, or a feature request for haddock to handle such 
situations, I don't know.


More information about the Haskell-Cafe mailing list