
22 Mar
2012
22 Mar
'12
7:03 p.m.
On Thu, Mar 22, 2012 at 06:16:39PM -0300, Felipe Almeida Lessa wrote:
From: Felipe Almeida Lessa
To: Jared Hance Cc: haskell-cafe@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?