Changelog for
ghc-primitive-devel-0.9.0.0-2.3.x86_64.rpm :
* Sat Mar 16 2024 Peter Simons
- Update primitive to version 0.9.0.0 revision 1. Upstream has revised the Cabal build instructions on Hackage.
* Thu Oct 05 2023 Peter Simons - Update primitive to version 0.9.0.0. [#]# Changes in version 0.9.0.0
* Add `withByteArrayContents`, `withMutableByteArrayContents`, `withPrimArrayContents`, `withMutablePrimArrayContents`.
* Fix signature of `keepAlive`.
* Remove re-export of `fromList` and `fromListN` from `Data.Primitive.Array`.
* Use `mutableByteArrayContents#` in GHC 9.2+
* Add `Prim` instance for `Complex`.
* Add `getSizeofSmallMutableArray` that wraps `getSizeofSmallMutableArray#` from `GHC.Exts`.
* Add default definitions for the `setByteArray#` and `setOffAddr#` methods, so they don\'t need to be defined explicitly anymore.
* Add standalone `sizeOfType`/`alignmentOfType` (recommended over `sizeOf`/`alignment`) and `Prim` class methods `sizeOfType#`/`alignmentOfType#` (recommended over `sizeOf#`/`alignment#`)
* Change `Show` instances of `PrimArray`, `Array`, and `SmallArray`. These previously used the `fromListN n [...]` form, but they now used the more terse `[...]` form.
* Correct the `Read` instances of `Array` and `SmallArray`. These instances are supposed to be able to handle all three of these forms: `fromList [...]`, `fromListN n [...]`, and `[...]`. They had been rejected the last form, but this mistake was discovered by the test suite when the Show instances were changed.
* Thu Aug 17 2023 Peter Simons - Update primitive to version 0.8.0.0 revision 1. [#]# Changes in version 0.8.0.0
* Add `resizeSmallMutableArray` that wraps `resizeSmallMutableArray#` from `GHC.Exts`.
* New module `Data.Primitive.PrimVar`. This is essentially `PrimArray` with element length 1. For types with `Prim` instances, this is a drop-in replacement for `MutVar` with fewer indirections.
* `PrimArray`\'s type argument has been given a nominal role instead of a phantom role. This is a breaking change.
* Add `readCharArray`, `writeCharArray`, `indexCharArray` for operating on 8-bit characters in a byte array.
* When building with `base-4.17` and newer, re-export the `ByteArray` and `MutableByteArray` types from `base` instead of defining them in this library. This does not change the user-facing interface of `Data.Primitive.ByteArray`.
* Add `keepAlive` that wraps `keepAlive#` for GHC 9.2 and newer. It falls back to using `touch` for older GHCs.
* Thu Mar 30 2023 Peter Simons - Updated spec file to conform with ghc-rpm-macros-2.5.2.
* Tue Jan 17 2023 Peter Simons - Update primitive to version 0.7.4.0 revision 1. [#]# Changes in version 0.7.4.0
* Add Lift instances (#332)
* Expose `copyPtrToMutablePrimArray`
* Improve definitions for stimes (#326)
* Support GHC 9.4. Note: GHC 9.4 is not released at the time of primitive-0.7.4.0\'s release, so this support might be reverted by a hackage metadata revision if things change.
* Drop support for GHC 7.10
* Fri May 20 2022 Peter Simons - Update primitive to version 0.7.3.0 revision 2. Upstream has revised the Cabal build instructions on Hackage.
* Mon Nov 01 2021 psimonsAATTsuse.com- Update primitive to version 0.7.3.0. [#]# Changes in version 0.7.3.0
* Correct implementations of `
*>` for `Array` and `SmallArray`.
* Drop support for GHC < 7.10
* Export `runByteArray` and `runPrimArray`.
* Export `createArray` and `createSmallArray`.
* Export `emptyByteArray`, `emptyPrimArray`, `emptyArray` and `emptySmallArray`.
* Wed Aug 04 2021 psimonsAATTsuse.com- Update primitive to version 0.7.2.0. [#]# Changes in version 0.7.2.0
* Add `thawByteArray` and `thawPrimArray`.
* Changed the `Show` instance of `ByteArray`, so that all 8-bit words are rendered as two digits. For example, display `0x0D` instead of `0xD`.
* Fri May 14 2021 psimonsAATTsuse.com- Update primitive to version 0.7.1.0 revision 3. Upstream has revised the Cabal build instructions on Hackage.
* Fri Feb 05 2021 psimonsAATTsuse.com- Update primitive to version 0.7.1.0 revision 2. Upstream has revised the Cabal build instructions on Hackage.