[Haskell-cafe] Hackage feature request: show types of names listed in index page

Ömer Sinan Ağacan omeragacan at gmail.com
Mon Oct 26 14:22:17 UTC 2015


Thanks for the tip Erik, it sounds really useful.

Still, an index page would list only public names, which is arguably
more useful because you can't use hidden names. grepping the whole code
is also a worse option because of all the useless code that grep will
list.

2015-10-26 0:38 GMT-04:00 Erik Rantapaa <erantapaa at gmail.com>:
> The hoogle index files might be another way to perform this kind of search.
>
> You can download all of the hoogle index files for packages on Hackage at:
>
> http://hackage.haskell.org/packages/hoogle.tar.gz
>
> Each package has it's own .txt file which you can search using grep. You can
> also create index files for your own cabal projects using the command `cabal
> haddock --hoogle`.
>
>
> On Sunday, October 25, 2015 at 8:30:02 PM UTC-5, Ömer Sinan Ağacan wrote:
>>
>> I pretty much said all I wanted to say in the title, but just to
>> rephrase, I think it'd be super helpful if Hackage listed types of
>> names listed in index pages. The reason is because most of the time
>> I'm using index pages for searching things, but if I wanted to list
>> all functions that somehow use a type, for example, index pages don't
>> help.
>>
>> With type information in the index pages I can just search for a type
>> and my browser would highlight all functions that somehow use the
>> type.
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskel... at haskell.org
>> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list