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

Magnus Therning magnus at therning.org
Sat Oct 22 10:38:09 CEST 2011

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.


Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111022/17460f26/attachment.pgp>

More information about the Haskell-Cafe mailing list