You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New API to convert directly between lazy and short bytestrings (#619)
* New API to convert directly between Lazy and Short
* fixup! New API to convert directly between Lazy and Short
Matthew Craven review fixes
---------
Co-authored-by: Viktor Dukhovni <[email protected]>
Copy file name to clipboardExpand all lines: Changelog.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,12 @@
4
4
*[`Data.Data.dataTypeOf` for `StrictByteString` and `LazyByteString` now returns a `DataType` that uses `AlgRep` instead of `NoRep`.](https://github.com/haskell/bytestring/pull/614)
5
5
* This allows utilities like `syb:Data.Generics.Text.gread` to be meaningfully used at these types containing `ByteString`s.
6
6
*[`fromListN` in `instance IsList ByteString` truncates input list if it's longer than the size hint](https://github.com/haskell/bytestring/pull/672)
7
+
8
+
* API additions and behavior changes:
9
+
* Data.ByteString.Short now provides `lazyToShort` and `lazyFromShort`.
0 commit comments