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)
commit5dc6d8aa5d148a5a81356f4babd6cf2dd2d7a556
tree17e17b76be0a99999c6e64498a5e097489cd909b
parentb6baa0aeee27a4df53cd33f7ed0c194f95449e0d
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.
libraries/base/Data/ByteString.hs
libraries/base/Data/ByteString/Char8.hs