cautious: Keep track of warnings and errors during calculations.

[ bsd3, library, testing ] [ Propose Tags ]

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"

[Skip to Readme]
Change log
Dependencies aeson, base (>=4.10 && <5), genvalidity-hspec-aeson, hspec, hspec-discover, QuickCheck (>=2.9 && <2.11), transformers, validity [details]
License BSD-3-Clause
Copyright 2018 Nick Van den Broeck
Author Nick Van den Broeck
Category Testing
Home page
Bug tracker
Source repo head: git clone
Uploaded by NickskeVdb at Mon Apr 16 19:42:36 UTC 2018
Distributions NixOS:
Downloads 235 total (26 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-04-16 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for cautious-

[back to package description]


Cautious provides a monad Cautious w e, which keeps track of warnings w and errors e during calculations. CautiousT w e m is a MonadTransform based on Cautious.