Skip to content

Commit

Permalink
Improve compatibility with mtl
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Dec 14, 2024
1 parent 0c28b23 commit d5b3b6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions random.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ library
bytestring >=0.10.4 && <0.13,
deepseq >=1.1 && <2,
mtl >=2.2 && <2.4,
transformers >=0.4 && <0.7,
splitmix >=0.1 && <0.2
if impl(ghc < 9.4)
build-depends: data-array-byte
Expand Down
2 changes: 1 addition & 1 deletion src/System/Random/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ import Control.Arrow
import Control.DeepSeq (NFData)
import Control.Monad (replicateM, when, (>=>))
import Control.Monad.Cont (ContT, runContT)
import Control.Monad.Identity (IdentityT (runIdentityT))
import Control.Monad.ST
import Control.Monad.State.Strict (MonadState(..), State, StateT(..), execStateT, runState)
import Control.Monad.Trans (lift, MonadTrans)
import Control.Monad.Trans.Identity (IdentityT (runIdentityT))
import Data.Array.Byte (ByteArray(..), MutableByteArray(..))
import Data.Bits
import Data.ByteString.Short.Internal (ShortByteString(SBS), fromShort)
Expand Down

0 comments on commit d5b3b6a

Please sign in to comment.