Skip to content

Add CommutativeT and other transformer instances - #12

Open
sellout wants to merge 3 commits into
mainfrom
add-CommutativeT
Open

Add CommutativeT and other transformer instances#12
sellout wants to merge 3 commits into
mainfrom
add-CommutativeT

Conversation

@sellout

@sellout sellout commented Mar 16, 2026

Copy link
Copy Markdown
Owner

This is a breaking change.

  • add CommutativeT
  • add duoidal transformer instances for IdentityT, MaybeT and ReaderT.
  • add filterM / filterM' operations to Control.Duoidal
  • add (p|s)fold(Map) to Data.Duoid
  • add dependency on barbies for duoidal-transformers
  • add dependency on newtype package (and add Newtype instances)
  • extract commutative monoid / monad to their own modules
  • a lot of refactoring to use newtype ops & deriving strategies
  • get rid of Control.Duoidal.Trans.Orphans (the instances are now in Control.Duoidal.Trans.Class)

Also bring up-to-date with the latest Flaky template.

sellout added 3 commits March 13, 2026 15:44
This is a breaking change.

- add `CommutativeT`
- add duoidal transformer instances for `IdentityT`, `MaybeT` and `ReaderT`.
- add `filterM` / `filterM'` operations to `Control.Duoidal`
- add (`p`|`s`)`fold`(`Map`) to `Data.Duoid`
- add dependency on barbies for duoidal-transformers
- add dependency on newtype package (and add `Newtype` instances)
- extract commutative monoid / monad to their own modules
- a lot of refactoring to use newtype ops & deriving strategies
- get rid of `Control.Duoidal.Trans.Orphans` (the instances are now in
  `Control.Duoidal.Trans.Class`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant