Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: ghc-primitive | Distribution: SUSE Linux Enterprise 15 |
Version: 0.8.0.0 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: 150500.3.3.1 | Build date: Mon Jan 29 16:11:48 2024 |
Group: Unspecified | Build host: mourvedre |
Size: 1362942 | Source RPM: ghc-primitive-0.8.0.0-150500.3.3.1.src.rpm |
Packager: https://www.suse.com/ | |
Url: https://hackage.haskell.org/package/primitive | |
Summary: Primitive memory-related operations |
This package provides various primitive memory-related operations.
BSD-3-Clause
* Thu Aug 17 2023 [email protected] - 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. [#]# 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 [email protected] - Update primitive to version 0.7.3.0 revision 2. Upstream has revised the Cabal build instructions on Hackage. * Mon Nov 01 2021 [email protected] - 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 [email protected] - 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 [email protected] - Update primitive to version 0.7.1.0 revision 3. Upstream has revised the Cabal build instructions on Hackage. * Fri Feb 05 2021 [email protected] - Update primitive to version 0.7.1.0 revision 2. Upstream has revised the Cabal build instructions on Hackage. * Thu Dec 17 2020 [email protected] - disable %{ix86} build * Tue Dec 08 2020 [email protected] - Update primitive to version 0.7.1.0 revision 1. Upstream has revised the Cabal build instructions on Hackage. * Tue Aug 18 2020 [email protected] - Replace %setup -q with the more modern %autosetup macro. * Fri Jun 26 2020 [email protected] - Update primitive to version 0.7.1.0. Upstream has edited the change log file since the last release in a non-trivial way, i.e. they did more than just add a new entry at the top. You can review the file at: http://hackage.haskell.org/package/primitive-0.7.1.0/src/changelog.md * Tue Jun 16 2020 [email protected] - Re-generate file with latest version of spec-cleaner. * Wed May 06 2020 [email protected] - Update primitive to version 0.7.0.1. [#]# Changes in version 0.7.0.1 * Allow building with GHC 8.12. * Sun Dec 29 2019 [email protected] - Update primitive to version 0.7.0.0. Upstream has edited the change log file since the last release in a non-trivial way, i.e. they did more than just add a new entry at the top. You can review the file at: http://hackage.haskell.org/package/primitive-0.7.0.0/src/changelog.md * Fri Nov 08 2019 [email protected] - Drop obsolete group attributes. * Sat Oct 20 2018 [email protected] - Use https URL to refer to bugs.opensuse.org. * Wed Jul 18 2018 [email protected] - Cosmetic: replace tabs with blanks, strip trailing white space, and update copyright headers with spec-cleaner. * Fri Jul 13 2018 [email protected] - Update primitive to version 0.6.4.0. [#]# Changes in version 0.6.4.0 * Introduce `Data.Primitive.PrimArray`, which offers types and function for dealing with a `ByteArray` tagged with a phantom type variable for tracking the element type. * Implement `isByteArrayPinned` and `isMutableByteArrayPinned`. * Add `Eq1`, `Ord1`, `Show1`, and `Read1` instances for `Array` and `SmallArray`. * Improve the test suite. This includes having property tests for typeclasses from `base` such as `Eq`, `Ord`, `Functor`, `Applicative`, `Monad`, `IsList`, `Monoid`, `Foldable`, and `Traversable`. * Fix the broken `IsList` instance for `ByteArray`. The old definition would allocate a byte array of the correct size and then leave the memory unitialized instead of writing the list elements to it. * Fix the broken `Functor` instance for `Array`. The old definition would allocate an array of the correct size with thunks for erroring installed at every index. It failed to replace these thunks with the result of the function applied to the elements of the argument array. * Fix the broken `Applicative` instances of `Array` and `SmallArray`. The old implementation of `<*>` for `Array` failed to initialize some elements but correctly initialized others in the resulting `Array`. It is unclear what the old behavior of `<*>` was for `SmallArray`, but it was incorrect. * Fix the broken `Monad` instances for `Array` and `SmallArray`. * Fix the implementation of `foldl1` in the `Foldable` instances for `Array` and `SmallArray`. In both cases, the old implementation simply returned the first element of the array and made no use of the other elements in the array. * Fix the implementation of `mconcat` in the `Monoid` instance for `SmallArray`. * Implement `Data.Primitive.Ptr`, implementations of `Ptr` functions that require a `Prim` constraint instead of a `Storable` constraint. * Add `PrimUnlifted` instances for `TVar` and `MVar`. * Use `compareByteArrays#` for the `Eq` and `Ord` instances of `ByteArray` when building with GHC 8.4 and newer. * Add `Prim` instances for lots of types in `Foreign.C.Types` and `System.Posix.Types`. * Reexport `Data.Primitive.SmallArray` and `Data.Primitive.UnliftedArray` from `Data.Primitive`. * Add fold functions and map function to `Data.Primitive.UnliftedArray`. Add typeclass instances for `IsList`, `Ord`, and `Show`. * Add `defaultSetByteArray#` and `defaultSetOffAddr#` to `Data.Primitive.Types`. * Mon May 14 2018 [email protected] - Update primitive to version 0.6.3.0. * Add `PrimMonad` instances for `ContT`, `AccumT`, and `SelectT` from `transformers` * Add `Eq`, `Ord`, `Show`, and `IsList` instances for `ByteArray` * Add `Semigroup` instances for `Array` and `SmallArray`. This allows `primitive` to build on GHC 8.4 and later. * Thu Aug 03 2017 [email protected] - Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. * Thu Jul 27 2017 [email protected] - Update to version 0.6.2.0 revision 1. * Sun Jul 10 2016 [email protected] - Update to version 0.6.1.0 revision 1 with cabal2obs. * Sun Sep 27 2015 [email protected] - update to 0.6.1.0 * Use more appropriate types in internal memset functions, which prevents overflows/segfaults on 64-bit systems. * Fixed a warning on GHC 7.10 * Worked around a -dcore-lint bug in GHC 7.6/7.7 * Thu Apr 09 2015 [email protected] - update to 0.6 + Split PrimMonad into two classes to allow automatic lifting of primitive operations into monad transformers. The internal operation has moved to the PrimBase class. + Fixed the test suite on older GHCs + Changed primitive_ to work around an oddity with GHC's code generation on certain versions that led to side effects not happening when used in conjunction with certain very unsafe IO performers. + Allow primitive to build on GHC 7.9 + Implement cloneArray and cloneMutableArray primitives (with fall-back implementations for GHCs prior to version 7.2.1)
/usr/lib64/ghc-8.10.7/primitive-0.8.0.0 /usr/lib64/ghc-8.10.7/primitive-0.8.0.0/libHSprimitive-0.8.0.0-7GvTqDWvNsdIftJV9fdokB-ghc8.10.7.so /usr/share/licenses/ghc-primitive /usr/share/licenses/ghc-primitive/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jul 9 19:51:39 2024