Re: Unacceptable result type in FFI

"David Waern" <[email protected]> Mon, 17 Nov 2008 13:04:32 +0100
Newsgroups gmane.comp.lang.haskell.haskelldoc
Message-ID <[email protected]>
2008/11/16 Neal Alexander <[email protected]>:
> How do you get Haddock 2.4 to handle the return type of an FFI function that
> isnt "IO". It works automatically in the haddock version that ships with ghc
> 6.8.1.
>
> I tried:
>
> haddock --haddock-options=--optghc=-XGeneralizedNewtypeDe
> riving

I don't see why this would be a problem. What kind of error message do you get?

I can't test myself right now since I'm at work.

Thanks,
David