[Haskell-beginners] type vs data, again...

Gabriel Gonzalez gabriel439 at gmail.com
Fri Mar 22 04:40:29 CET 2013

On 03/21/2013 08:31 PM, Rustom Mody wrote:
> On Sun, Mar 17, 2013 at 8:55 PM, David McBride <toad3k at gmail.com 
> <mailto:toad3k at gmail.com>> wrote:
>     If you hover over "type Object = HashMap Text Value" in
>     Data.Aeson.Types in hackage, you will see that the HashMap link links
>     to
>     http://hackage.haskell.org/packages/archive/unordered-containers/,
>     which tells you what package it came from and what to import.
> Is there some hackage 'hover-click' help/tut somewhere?
> Maybe 10 years of python habits... I find hackage often hard to navigate
All Hackage links point to the module that the function or type came 
from, even if it is from a different package.  You can use this to find 
out which package something comes from.  This can be useful if you need 
to import a type which is not from the same package as the one you are 
currently browsing.  You just click the link and see which package it 
takes you to.

There are two ways to tell which package you are currently browsing:

* Fastest way: Just look at the url.  The part after the "/archive/" is 
the package name.

* Most user-friendly way: Click the 'Contents' link in the 
upper-right-hand corner.  That takes you to the home page of the package 
you are currently browsing, which will display all the metadata about 
that page.
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130321/de13d241/attachment.htm>

More information about the Beginners mailing list