monoid-filter: A monoid for modifying or consuming a value

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Functions with the type (a -> m (Maybe a)) are endomorphisms in the Kleisli category of MaybeT m. This means they form a monoid and can be chained together. The most common use for these is to create a series of (effectful) filters which may modify their input, consume their input, or pass their input along unmodified.


[Skip to Readme]

Properties

Versions 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4.14.1.0 && <4.15), monoid-extras (>=0.5.1 && <0.6), transformers (>=0.5.6.2 && <0.6) [details]
License BSD-2-Clause
Author hololeap
Maintainer hololeap@users.noreply.github.com
Category Control, Data
Home page https://github.com/hololeap/monoid-filter
Bug tracker https://github.com/hololeap/monoid-filter/issues
Uploaded by hololeap at 2021-03-15T19:20:36Z

Modules

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for monoid-filter-0.1.0.0

[back to package description]

monoid-filter

A monoid for modifying or consuming a value

Functions with the type (a -> m (Maybe a)) are endomorphisms in the Kleisli category of MaybeT m. This means they form a monoid and can be chained together. The most common use for these is to create a series of (effectful) filters which may modify their input, consume their input, or pass their input along unmodified.