About Data (was List of all prelude function types?)

Ive a related couple of questions: Whats with the word 'Data'? Almost every Haskell module seems to be under Data. I dont get exactly the usage of the word. Also is there some easy way of browsing up and down the hackage hierarchical structure? [I know about hoogle and hayoo. I perhaps dont know how to use them well]

Haskell has so many pure functions and utilities, that nearly
everything falls into data manipulation if you think about it. IO
related things tend to be in system. Control has concurrency and
monadic stuff. Most larger applications have their own toplevel
module like Yesod, or XMonad. Mostly it comes down to, it feels
appropriate to put things in Data most of the time, especially if it s
a small library that does nothing on its own, so people do it.
When I want to browse a hierarchy, I go to ghci and type :bro Control.
and hit tab to complete on all the ones, then look at ones that
interest me. If I want more info, look up that import in hayoo and
read the haddock documentation for it.
On Thu, Oct 20, 2011 at 11:24 PM, Rustom Mody
Ive a related couple of questions:
Whats with the word 'Data'? Almost every Haskell module seems to be under Data. I dont get exactly the usage of the word.
Also is there some easy way of browsing up and down the hackage hierarchical structure? [I know about hoogle and hayoo. I perhaps dont know how to use them well]
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (2)
-
David McBride
-
Rustom Mody