kosmikus/safeint — Issue #1: GHC-7.2/7.4 compilation broken due to BangPatterns
Author: hvr
Created: 2012-01-10 13:51:28+00:00
State: open

Fyi, with GHC-7.4 and GHC-7.2 the `safeint` package doesn't build:

````
Building safeint-0.5...
Preprocessing library safeint-0.5...
[1 of 1] Compiling Data.SafeInt ( src/Data/SafeInt.hs, dist/build/Data/SafeInt.o )

src/Data/SafeInt.hs:97:13:
Illegal bang-pattern (use -XBangPatterns):
! (I# maxInt#)
````

Adding a `BangPatterns` pragma in that module fixes compilation