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 b573ff3 commit d5eba95
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 @@ -102,6 +102,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 @@ -98,10 +98,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 (ByteString)
Expand Down

0 comments on commit d5eba95

Please sign in to comment.