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

Ian Lynagh igloo at earth.li
Thu Nov 20 20:08:33 EST 2008


On Thu, Nov 20, 2008 at 02:25:25PM -0500, Stephen Hicks wrote:
>
> 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


Thanks
Ian



More information about the Haskell-Cafe mailing list