cond: Basic conditional and boolean operators with monadic variants.

[ bsd3, control, library, logic, monad ] [ Propose Tags ]
Versions 0.0, 0.0.1, 0.0.2, 0.1, 0.2, 0.3, 0.4,,, 0.4.1,
Dependencies base (>=3 && <5) [details]
License BSD-3-Clause
Author Adam Curtis
Category Control, Logic, Monad
Home page
Source repo head: git clone git://
Uploaded by AdamCurtis at Sun Nov 23 16:29:17 UTC 2014
Distributions Debian:, Fedora:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 7961 total (58 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

This library provides:

Feel free to send ideas and suggestions for new conditional operators to the maintainer.

Monadic looping constructs are not included as part of this package, since the monad-loops package has a fairly complete collection of them already.

[Skip to Readme]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for cond-

[back to package description]


A library of boolean operations, lifted in a typeclass for boolean values. Also includes:

  • Lifted monadic variants of those operations.
  • Hoare's conditional choice operator.
  • A typeclass for boolean algebras.

See annotated documentation in code for information about individual entities.