Control.Concurrent.MVar documentation broken

David Waern david.waern at gmail.com
Fri Feb 13 04:00:04 EST 2009


2009/2/13 David Menendez <dave at zednenem.com>:
> I was just looking at
> <http://www.haskell.org/ghc/docs/latest/html/libraries/base/Control-Concurrent-MVar.html>
> and I noticed that the documentation for withMVar, modifyMVar, and
> modifyMVar_ is missing.
>
> This appears to be caused by the INLINE pragmas. I've done some
> experiments, and I've found that Haddock 2.4.1 will not display the
> documentation if an INLINE, NOINLINE, or SPECIALIZE pragma appears
> between the documentation and the signature.
>
> I don't know whether this is a bug in Haddock or Control.Concurrent.MVar.

It's a bug in Haddock which has been fixed. The fix will be in 2.4.2.

David


More information about the Libraries mailing list