#1516: Add Data.Stream, a library for manipulating infinite lists, to base
-------------------------------+--------------------------------------------
Reporter: WouterSwierstra | Owner: WouterSwierstra
Type: proposal | Status: new
Priority: normal | Milestone: 6.8
Component: libraries/base | Version: 6.6.1
Severity: normal | Keywords: streams, infinite lists
Difficulty: Moderate (1 day) | Os: Unknown
Testcase: | Architecture: Unknown
-------------------------------+--------------------------------------------
I'd propose to add a Data.Stream library to base. Data.Stream should be
fairly uncontroversial. The module consists largely of a reimplimentation
of several functions from Data.List to create, modify, and manipulate
infinite lists. There is already a package on Hackage:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/Stream-0.1
I've tried to include Haddock-comments, very similar to those for
Data.List. As working with infinite lists can be tricky, I've included
warnings clearly stating which functions can diverge.
I am aware that the name may cause confusion with Data.List.Stream. I'd
welcome suggestions to avoid causing confusion.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1516>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs