Changelog for monad-choice-0.1.0.0
Changelog
0.1.0.0 (2020-02-29)
Inital version
Additions
MonadChoice- Created
MonadChoicetypeclass to represent that allow choices to be made by some arbitrary entity. - Added function
chooseM. - Added instances for the
ChoiceTboth covariant and invariant. - Added instance for
MonadRandominstances by using theuniformfunction. - Added various passthrough instances
MaybeTExceptTIdentityTStateTeither lazy or strictReaderTWriterTeither constant space, lazy, or strictAccumTContTRWSTeither constant space, lazy, strictSelectT
- Created
ChoiceT- Added two different versions of
ChoiceT, one a covariant functor, the other an invariant functor on the category of monads. - Shared additions:
- Function
runChoiceT - Instances for
Functor,Applicative,Monad,MonadTrans, andMonadChoice - Various passthrough instances
MonadReaderMonadStateMonadWriterMonadRWSMonadIO
- Function
Covariant.ChoiceT- Added functions
mapChoiceTandrunBacktrackableChoiceT.
- Added functions
Invariant.ChoiceT- Exposed constructor
ChoiceT. - Added function
invmapChoiceT. - Added various passthrough instances.
ContravariantInvariantAlternativeMonadPlusMonadError
- Exposed constructor
- Added two different versions of
Choice- Added two different versions of
Choicewhich of type aliases for eachChoiceTover theIdentitymonad. - Added function
runChoicefor each version. - For
Covariant.Choiceadded functionsrunChoiceMandrunBacktrackableChoiceT.
- Added two different versions of