Add array fusion versions of map, filter and foldl
authordons@cse.unsw.edu.au <unknown>
Fri, 5 May 2006 06:08:58 +0000 (06:08 +0000)
committerdons@cse.unsw.edu.au <unknown>
Fri, 5 May 2006 06:08:58 +0000 (06:08 +0000)
commitce38a61ec9d0961ad4ca0b37712e4a08ff59eef3
tree51a3825f6753b1e7c902e27e18796b0370d34f12
parentd3e67963a7ab917876e3ec6fa95b791e74bada8d
Add array fusion versions of map, filter and foldl

This patch adds fusable map, filter and foldl, using the array fusion
code for unlifted, flat arrays, from the Data Parallel Haskell branch,
after kind help from Roman Leshchinskiy,

Pipelines of maps, filters and folds should now need to walk the
bytestring once only, and intermediate bytestrings won't be constructed.
Data/ByteString.hs
Data/ByteString/Char8.hs