diff options
author | Carter Tazio Schonwald <carter.schonwald@gmail.com> | 2014-11-23 22:08:21 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-11-23 22:21:54 +0100 |
commit | fb061c193947a7096471486faade1d0db30bc588 (patch) | |
tree | 81d3edd37dea7deb171653c82f121fbcc4ccbb59 /libraries/base/changelog.md | |
parent | cc7a735f015510dda6f69d4a48d1b0cdd55856ba (diff) | |
download | haskell-fb061c193947a7096471486faade1d0db30bc588.tar.gz |
Add `Storable` instances for `Complex` and `Ratio`
The actual type-signatures of the new instances are:
instance Storable a => Storable (Complex a)
instance (Storable a, Integral a) => Storable (Ratio a)
See also
https://groups.google.com/d/msg/haskell-core-libraries/mjBSo2CQ3LU/0gwg0QvviOIJ
Addresses #9826
Reviewed By: ekmett
Differential Revision: https://phabricator.haskell.org/D519
Diffstat (limited to 'libraries/base/changelog.md')
-rw-r--r-- | libraries/base/changelog.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md index 881532f2e0..c7de12e55a 100644 --- a/libraries/base/changelog.md +++ b/libraries/base/changelog.md @@ -113,6 +113,10 @@ representing non-negative arbitrary-precision integers. The `GHC.Natural` module exposes additional GHC-specific primitives. (#9818) + * Add `(Storable a, Integeral a) => Storable (Ratio a)` instance (#9826) + + * Add `Storable a => Storable (Complex a)` instance (#9826) + ## 4.7.0.1 *Jul 2014* * Bundled with GHC 7.8.3 |