
On Sat, Oct 22, 2011 at 12:50:48AM +0200, Daniel Fischer wrote:
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.
Thanks for taking your time to find this out. I've passed on the information to the author. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus I invented the term Object-Oriented, and I can tell you I did not have C++ in mind. -- Alan Kay