@hackage / cautious

Keep track of warnings and errors during calculations.

Latest0.3.0.0

About

Metadata

  • Last updated , by NickskeVdb
  • License BSD-3-Clause
  • Categories Testing
  • Maintained by: nick.van.den.broeck666@gmail.com

  • Lottery factor: 0

Links

Installation

Readme

A Cautious monad "Monoid w => Cautious w e a" which keeps track of the success of a task. The options are "CautiousWarning w a" (where "CautiousWarning mempty a" represents "success") and "CautiousError e". In addition, there is a monadtransformer "Monad m, Monoid w => CautiousT w e m a"