Skip to content

Commit

Permalink
Merge pull request haskell#19 from mainland/master
Browse files Browse the repository at this point in the history
Fix compilation with GHC HEAD.
  • Loading branch information
ekmett committed Sep 16, 2014
2 parents 922855f + 7476569 commit 279163e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions System/Random.hs
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ import Data.Ratio ( numerator, denominator )
#endif
import Data.Char ( isSpace, chr, ord )
import System.IO.Unsafe ( unsafePerformIO )
import Data.IORef ( IORef, atomicModifyIORef, newIORef, readIORef
, writeIORef )
import Data.IORef ( IORef, newIORef, readIORef, writeIORef )
#if MIN_VERSION_base (4,6,0)
import Data.IORef ( atomicModifyIORef' )
#else
import Data.IORef ( atomicModifyIORef )
#endif
import Numeric ( readDec )

Expand Down
2 changes: 1 addition & 1 deletion tests/random1283.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Control.Concurrent
import Control.Monad
import Control.Monad hiding (empty)
import Data.Sequence (ViewL(..), empty, fromList, viewl, (<|), (|>), (><))
import System.Random

Expand Down

0 comments on commit 279163e

Please sign in to comment.