Data.ByteString: fix lazyness of take, drop & splitAt
authorDon Stewart <dons@cse.unsw.edu.au>
Thu, 5 Oct 2006 01:17:03 +0000 (01:17 +0000)
committerDon Stewart <dons@cse.unsw.edu.au>
Thu, 5 Oct 2006 01:17:03 +0000 (01:17 +0000)
commite22dbbd030dd11594de28c22835568d56f84ad3c
tree25075956fe930c2eb893a6cd238b69c9da8823e9
parent194f49e0ad9d8ab04a42a71c3e3b1e22dd7688fb
Data.ByteString: fix lazyness of take, drop & splitAt

ByteString.Lazy's take, drop and splitAt were too strict when demanding
a byte string. Spotted by Einar Karttunen. Thanks to him and to Bertram
Felgenhauer for explaining the problem and the fix.
Data/ByteString/Lazy.hs