Skip to content

Commit

Permalink
oops, moved too many modules last time round.
Browse files Browse the repository at this point in the history
  • Loading branch information
mokus0 committed Jul 16, 2013
1 parent 2359584 commit 93d9dbc
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 14 deletions.
10 changes: 6 additions & 4 deletions random-source/random-source.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: random-source
version: 0.3.0.5
version: 0.3.0.6
stability: provisional

cabal-version: >= 1.6
Expand All @@ -19,7 +19,9 @@ description: Random number generation based on entropy sources
easy to define new entropy sources in a way that
is naturally forward-compatible.
.
Changes in 0.3.0.5: Renamed some internal modules. No other changes.
Changes in 0.3.0.6: Fixed overzealous fix in 0.3.0.5. The people responsible for sacking the people who have been sacked, etc., have been sacked.
.
Changes in 0.3.0.5: Renamed some internal modules and accidentally some external ones too. Whoops. Please don't use this version, it will only end in tears.
.
Changes in 0.3.0.4: Fixed a typo that broke building
with MTL-1
Expand Down Expand Up @@ -51,8 +53,8 @@ Library
Data.Random.Source.PureMT
Data.Random.Source.Std
Data.Random.Source.StdGen
Data.Random.Source.Internal.Words
Data.Random.Source.Internal.Source
Data.Random.Internal.Words
Data.Random.Internal.Source
other-modules: Data.Random.Source.Internal.Prim
Data.Random.Source.Internal.TH

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
MultiParamTypeClasses, FlexibleInstances, FlexibleContexts
#-}

module Data.Random.Source.Internal.Source
module Data.Random.Internal.Source
( Prim(..)
, MonadRandom(..)
, RandomSource(..)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- |A few little functions I found myself writing inline over and over again.
module Data.Random.Source.Internal.Words where
module Data.Random.Internal.Words where

import Data.Bits
import Data.Word
Expand Down
2 changes: 1 addition & 1 deletion random-source/src/Data/Random/Source.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Data.Random.Source

import Data.Word

import Data.Random.Source.Internal.Source
import Data.Random.Internal.Source
import Data.Random.Source.Internal.TH

$(randomSource
Expand Down
2 changes: 1 addition & 1 deletion random-source/src/Data/Random/Source/IO.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- "Data.Random.Source.DevRandom".
module Data.Random.Source.IO () where

import Data.Random.Source.Internal.Source
import Data.Random.Internal.Source

#ifndef windows

Expand Down
4 changes: 2 additions & 2 deletions random-source/src/Data/Random/Source/Internal/TH.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import Data.Generics
import Data.List
import Data.Maybe
import Data.Monoid
import Data.Random.Source.Internal.Source (Prim(..), MonadRandom(..), RandomSource(..))
import Data.Random.Source.Internal.Words
import Data.Random.Internal.Source (Prim(..), MonadRandom(..), RandomSource(..))
import Data.Random.Internal.Words
import Language.Haskell.TH
import Language.Haskell.TH.Extras
import qualified Language.Haskell.TH.FlexibleDefaults as FD
Expand Down
2 changes: 1 addition & 1 deletion random-source/src/Data/Random/Source/MWC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module Data.Random.Source.MWC
, save, restore
) where

import Data.Random.Source.Internal.Words
import Data.Random.Internal.Words
import Data.Random.Source
import System.Random.MWC
import Control.Monad.ST
Expand Down
2 changes: 1 addition & 1 deletion random-source/src/Data/Random/Source/PureMT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Data.Random.Source.PureMT

import Control.Monad.State
import qualified Control.Monad.State.Strict as S
import Data.Random.Source.Internal.Source
import Data.Random.Internal.Source
import Data.Random.Source.Internal.TH
import Data.StateRef
import System.Random.Mersenne.Pure64
Expand Down
2 changes: 1 addition & 1 deletion random-source/src/Data/Random/Source/Std.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

module Data.Random.Source.Std where

import Data.Random.Source.Internal.Source
import Data.Random.Internal.Source

-- |A token representing the \"standard\" entropy source in a 'MonadRandom'
-- monad. Its sole purpose is to make the following true (when the types check):
Expand Down
2 changes: 1 addition & 1 deletion random-source/src/Data/Random/Source/StdGen.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module Data.Random.Source.StdGen
, getRandomPrimFromRandomGenState
) where

import Data.Random.Source.Internal.Source
import Data.Random.Internal.Source
import System.Random
import Control.Monad.State
import qualified Control.Monad.ST.Strict as S
Expand Down

0 comments on commit 93d9dbc

Please sign in to comment.