[commit: containers] master: Add BangPatterns to IntSet. (e7e1c22)
Ian Lynagh
igloo at earth.li
Thu Feb 23 01:15:13 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/e7e1c22e2d80937e12791783b982e551c7a9ccf2
>---------------------------------------------------------------
commit e7e1c22e2d80937e12791783b982e551c7a9ccf2
Author: Milan Straka <fox at ucw.cz>
Date: Fri Nov 25 15:20:07 2011 +0100
Add BangPatterns to IntSet.
The bang pattern is used to bind local literal of type Addr#.
GHC 7.0 allowed it without the extension, GHC 7.3 fails without it.
>---------------------------------------------------------------
Data/IntSet.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Data/IntSet.hs b/Data/IntSet.hs
index 8144092..ad4e5fc 100644
--- a/Data/IntSet.hs
+++ b/Data/IntSet.hs
@@ -1,6 +1,6 @@
{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__
-{-# LANGUAGE MagicHash, DeriveDataTypeable, StandaloneDeriving #-}
+{-# LANGUAGE MagicHash, BangPatterns, DeriveDataTypeable, StandaloneDeriving #-}
#endif
#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
More information about the Cvs-libraries
mailing list