[commit: packages/random] master: Fix unused import warning. (7476569)

git at git.haskell.org git at git.haskell.org
Thu Mar 19 15:45:41 UTC 2015


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

On branch  : master
Link       : http://git.haskell.org/packages/random.git/commitdiff/74765698fc6e1ec50ae4bd986b796cc20081ce0b

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

commit 74765698fc6e1ec50ae4bd986b796cc20081ce0b
Author: Geoffrey Mainland <mainland at apeiron.net>
Date:   Tue Sep 16 11:57:35 2014 -0400

    Fix unused import warning.


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

74765698fc6e1ec50ae4bd986b796cc20081ce0b
 System/Random.hs | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/System/Random.hs b/System/Random.hs
index 4efcad6..ab77274 100644
--- a/System/Random.hs
+++ b/System/Random.hs
@@ -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 )
 



More information about the ghc-commits mailing list