[Haskell-cafe] Functional dependencies and Peano numbers (and hoogle-bug?)

Neil Mitchell ndmitchell at gmail.com
Tue May 3 21:47:58 CEST 2011


Hi Oscar,

Sorry for the seriously late reply. I only just found this message in
the bottom of my inbox:

> On an unrelated note:
>
> I hoogled "to" (i.e. http://haskell.org/hoogle/?hoogle=to) and just
> got a blank page. Nothing. Nil (not even <html>...</html>). Is this a
> bug or a "feature"? :)

It was a bug, fixed in hoogle-4.2.1. I had an incomplete pattern match
on "to", which crashed Hoogle. The reason "to" is treated specially is
that when people search for "a to b", they usually mean "a -> b", and
my code to detect this was incorrect. All fixed now.

Thanks for the report. In future, if you find a bug in Hoogle can you
please email me directly, or raise it on my bug tracker:
http://code.google.com/p/ndmitchell/issues/

Thanks, Neil



More information about the Haskell-Cafe mailing list