[commit: packages/base] master: Add changelog entry for new `FiniteBits` class (c863402)

git at git.haskell.org git at git.haskell.org
Wed Jan 29 15:43:45 UTC 2014


Repository : ssh://git@git.haskell.org/base

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c8634027d4e3315a2276fb1be8168c486419785a/base

>---------------------------------------------------------------

commit c8634027d4e3315a2276fb1be8168c486419785a
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Wed Jan 29 16:43:20 2014 +0100

    Add changelog entry for new `FiniteBits` class
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

c8634027d4e3315a2276fb1be8168c486419785a
 changelog.md |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/changelog.md b/changelog.md
index 6aad1ea..8e1df37 100644
--- a/changelog.md
+++ b/changelog.md
@@ -19,6 +19,11 @@
 
   * There is now a `Data` instance for `Data.Version`.
 
+  * A new `Data.Bits.FiniteBits` class has been added to represent
+    types with fixed bit-count. The existing `Bits` class is extended
+    with a `bitSizeMaybe` method to replace the now obsolete
+    `bitsize` method.
+
   * There are now `Bits` and `FiniteBits` instances for `Bool`.
 
   * There are now `Eq`, `Ord`, `Show` and `Read` instances for `ZipList`.



More information about the ghc-commits mailing list