Fixed broken `MonadChoice` instance for `MonadRandom` types and improved dependency version compatability.
Fixed broken MonadChoice
instance for MonadRandom
types and fixed, expanded, and fine tuned dependency version requirements.
Additions
-
UniformRandom
- Created marker
newtype
UniformRandom
that provides aMonadChoice
instance for members of theMonadRandom
typeclass. - Added functions
lift
andcolift
to wrap and unwrapUniformRandom
, respectively. - Added instance for
MonadChoice
usinguniform
from theMoandRandom
package when the wrapped monad is a member of theMonadRandom
class. - Added various passthrough instances
Functor
Applicative
Monad
MonadRandom
MonadFix
MonadFail
Alternative
MonadPlus
MonadIO
Semigroup
Monoid
MonadError
MonadReader
MonadState
Foldable
Traversable
Eq1
Ord1
MonadZip
MonadCont
Eq
Ord
MonadRWS
MonadWriter
MonadSplit
PrimMonad
MonadInterleave
- Created marker
Removals
-
MonadChoice
- Removed previous instance for members of the
MonadRandom
type class since it overlapped with all otherMonadChoice
instances. - Removed passthrough instances for constant space
WriterT
andRWST
iftransformers
version is less than 0.5.6
- Removed previous instance for members of the
Edited by Lucy