Re: [Haskell-cafe] ByteString, zipWith', and rewrite rules

2010-07-13 Thread Henning Thielemann
Thomas M. DuBuisson wrote: Comments on the zipWith' function inside of Data.ByteString say: -- Rewrite rules -- are used to automatically covert zipWith into zipWith' when a pack is -- performed on the result of zipWith. This is only true internally to Data.ByteString because the zipWith'

[Haskell-cafe] ByteString, zipWith', and rewrite rules

2010-07-11 Thread Thomas M. DuBuisson
Comments on the zipWith' function inside of Data.ByteString say: -- Rewrite rules -- are used to automatically covert zipWith into zipWith' when a pack is -- performed on the result of zipWith. This is only true internally to Data.ByteString because the zipWith' function could be inlined away by