Skip to content

Commit

Permalink
Add BangPatterns to IntSet.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
foxik committed Nov 25, 2011
1 parent 2738ff2 commit e7e1c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/IntSet.hs
Original file line number Diff line number Diff line change
@@ -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 #-}
Expand Down

0 comments on commit e7e1c22

Please sign in to comment.