Commits

Aleksey Khudyakov committed ce275d0

Align import list to make them look prettier

  • Participants
  • Parent commits 775a7de

Comments (0)

Files changed (1)

System/Random/MWC.hs

 #include "MachDeps.h"
 #endif
 
-import Control.Exception (IOException, catch)
-import Control.Monad (ap, liftM, unless)
+import Control.Exception       (IOException, catch)
+import Control.Monad           (ap, liftM, unless)
 import Control.Monad.Primitive (PrimMonad, PrimState, unsafePrimToIO)
-import Control.Monad.ST (ST)
-import Data.Bits ((.&.), (.|.), xor)
-import Data.Int (Int8, Int16, Int32, Int64)
-import Data.IORef (atomicModifyIORef, newIORef)
-import Data.Ratio ((%), numerator)
-import Data.Time.Clock.POSIX (getPOSIXTime)
-import Data.Typeable (Typeable)
-import Data.Vector.Generic (Vector, unsafeFreeze)
-import Data.Word (Word, Word8, Word16, Word32, Word64)
-import Foreign.Marshal.Alloc (allocaBytes)
-import Foreign.Marshal.Array (peekArray)
-import GHC.Base (Int(I#))
-import GHC.Word (Word64(W64#), uncheckedShiftL64#, uncheckedShiftRL64#)
+import Control.Monad.ST        (ST)
+import Data.Bits               ((.&.), (.|.), xor)
+import Data.Int                (Int8, Int16, Int32, Int64)
+import Data.IORef              (atomicModifyIORef, newIORef)
+import Data.Ratio              ((%), numerator)
+import Data.Time.Clock.POSIX   (getPOSIXTime)
+import Data.Typeable           (Typeable)
+import Data.Vector.Generic     (Vector, unsafeFreeze)
+import Data.Word               (Word, Word8, Word16, Word32, Word64)
+import Foreign.Marshal.Alloc   (allocaBytes)
+import Foreign.Marshal.Array   (peekArray)
+import GHC.Base       (Int(I#))
+import GHC.Word       (Word64(W64#), uncheckedShiftL64#, uncheckedShiftRL64#)
 import Prelude hiding (catch)
-import qualified Data.Vector.Generic as G
+import qualified Data.Vector.Generic         as G
 import qualified Data.Vector.Generic.Mutable as GM
-import qualified Data.Vector.Unboxed as I
+import qualified Data.Vector.Unboxed         as I
 import qualified Data.Vector.Unboxed.Mutable as M
-import System.CPUTime (cpuTimePrecision, getCPUTime)
-import System.IO (IOMode(..), hGetBuf, hPutStrLn, stderr, withBinaryFile)
+import System.CPUTime   (cpuTimePrecision, getCPUTime)
+import System.IO        (IOMode(..), hGetBuf, hPutStrLn, stderr, withBinaryFile)
 import System.IO.Unsafe (unsafePerformIO)
 
 -- | The class of types for which we can generate uniformly