[Haskell-cafe] Possible issue with Hoogle and Haddock?

Mitchell, Neil neil.mitchell.2 at credit-suisse.com
Fri Nov 21 03:21:51 EST 2008


 
> > I was noticing recently that there seems to be a problem 
> with Hoogle 
> > and Haddock.  In particular, I just hoogled "bracket" and got the 
> > following result:
> > 	bracket :: IO a -> a -> IO b -> a -> IO c -> IO c 
> Clearly this is the 
> > wrong type, as it should be
> > 	bracket :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
> > 
> > Is this a bug?  Is is something that's well-known?
> 
> Yes, it's a known bug:
> http://hackage.haskell.org/trac/ghc/ticket/2584

I can make a work around for Hoogle (well, I can write a workaround in
the Hoogle specific code of Haddock), but was hoping that the bug would
be fixed before 6.10. I guess its now worth making the Hoogle specific
fix.

Thanks

Neil

==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================



More information about the Haskell-Cafe mailing list