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

Neil Mitchell ndmitchell at gmail.com
Thu Nov 27 09:38:48 EST 2008


Hi Stephen,

I've now worked around this bug in Hoogle - I'm just about to rebuild
the website, and hopefully the bug will have disappeared. (Rebuilding
the website could take a few days, as I'm currently hunting for the
right compiler etc...)

Thanks

Neil

On Fri, Nov 21, 2008 at 8:21 AM, Mitchell, Neil
<neil.mitchell.2 at credit-suisse.com> 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
>
> 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