
On Fri, Jul 13, 2007 at 11:18:27AM +1000, Donald Bruce Stewart wrote:
igloo:
On Mon, Jul 09, 2007 at 03:38:56PM +0200, Wouter Swierstra wrote:
* Hackage homepage: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Stream-0.1
fairly uncontroversial, and would like to see it added to base (I realize that there are also proposals to clean up base to speed up the build of ghc),
Yes indeed; I don't see any reason for adding this to the base library while we're trying to make base smaller.
or at least, the standard libraries.
I'm not sure what you mean by "the standard libraries". It wouldn't be needed to build GHC, so it wouldn't be a GHC "core lib".
Other than that, if it's in hackage then it's as standard as any other library!
A "stream" (or "colist" or whatever) package seems reasonable to me.
(The http://www.cse.unsw.edu.au/~dons/code/streams/list/Data/Stream.hs module also looks too specific to use such a generic name, in my opinion).
Yes, I agree. Probably if it will be the base for fusion in ndp arrays, bytestrings and lists, we can find a tag to put between Data.* and *.Stream.
What does Data. mean in a language where almost everything is a data type? I think we should move abolish that subtree entirely, moving the major subtrees (Binary, Generics, Array, ...) to top level, and creating a bunch of new categories (Numeric, Collection, etc) for the remaining modules. (ByteString can go in Text) Stefan