[ANN] bytestring-

Andrew Lelechenko andrew.lelechenko at gmail.com
Tue Feb 16 18:30:43 UTC 2021

On behalf of maintainers I'm happy to announce that bytestring- (http://hackage.haskell.org/package/bytestring- is finally released.

Highlights from the changelog (https://github.com/haskell/bytestring/blob/

* Performance improvements for
    * strict `map` (up to 30% faster),
    * strict `pack`, `words`, `intersperse`, `findIndex` and `findIndexEnd`,
    * lazy `takeWhile`, `dropWhile`, `break`, `group` and `groupBy`,
    * strict and lazy `stimes`.
* New functions:
    * `compareLength` to compare lengths lazily,
    * `packZipWith` to zip two `ByteString`,
    * `findIndexEnd` for `Char8` flavours of `ByteString`,
    * `elemIndexEnd` and `unzip` for `Data.ByteString.Lazy.Char8`,
    * `takeEnd` and `dropEnd` for strict `ByteString`.
* Improvements for `ShortByteString`
    * `SBS` constructor is now exposed directly from `Data.ByteString.Short`,
    * `fromShort` does not reallocate its argument, if it is already pinned.

Many people contributed their time and effort to make this release happen. Just to name a few in no particular order, mostly according to `git log`:

* Ben Gamari
* Callan McGill
* Dmitry Ivanov
* Eli Kogan-Wang
* gutjuri
* Jaro Reinders
* John Ericson
* Moritz Angermann
* Simon Jakobi
* Sylvain Henry
* Viktor Dukhovni
* Vincent Orr
* me

Here is an incantation for `stack` folks:

resolver: nightly-2021-02-12
- .
- bytestring-
- binary-
- directory-
- text-
- unix-
- process-
allow-newer: true

Best regards,

More information about the Libraries mailing list