[Haskell-cafe] [ANNOUNCE] vector-conduit

Jared Hance jaredhance at gmail.com
Fri Mar 23 00:03:13 CET 2012


On Thu, Mar 22, 2012 at 06:16:39PM -0300, Felipe Almeida Lessa wrote:
> From: Felipe Almeida Lessa <felipe.lessa at gmail.com>
> To: Jared Hance <jaredhance at gmail.com>
> Cc: haskell-cafe at haskell.org
> Date: Thu, 22 Mar 2012 18:16:39 -0300
> Subject: Re: [Haskell-cafe] [ANNOUNCE] vector-conduit
> 
> Nice package!
> 
> An idea for sourceVector is to use the streaming interface [1].  It
> would be nice if GHC could fuse the array with sourceVector, avoiding
> to produce the array in the first place, but I'm not going to hold my
> breath =).

I looked over it and decided to simply go with head/tail (not sure why I
used the index thing... head/tail is so much more "functional"). That
should still get some fusion benefit, right, since it all uses streams
under the hood?



More information about the Haskell-Cafe mailing list