[Haskell-cafe] Stream fusion for Hackage

Stefan O'Rear stefanor at cox.net
Mon Nov 19 19:55:33 EST 2007


On Mon, Nov 19, 2007 at 10:17:56AM +0000, Malcolm Wallace wrote:
> > > 1) Where does the basic unfolded sequence type, described in the
> > > stream fusion paper live?
> > 
> > Why not have a Data.Fusion.* hierarchy and put everything having to do
> > with stream fusion there?
> 
> It seems perfectly reasonable to me that ordinary users might want to
> program directly with this data structure, whether or not it ends up
> being fuseable.
> 
> The problem with a name like "Data.Fusion" is that it describes the
> thing that the compiler does with this data structure, rather than the
> data structure itself.
> 
> My suggestions for names would therefore be:
>     Data.Unfold
>     Data.Step
>     Data.Pump

How about Control.Stream?  The stream-fusions combinators are in some
way trying to capture the order of operations, while Wouter et al's
Data.Stream is plain data.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/libraries/attachments/20071119/88f22c0c/attachment.bin


More information about the Libraries mailing list