The cond package

[Tags:bsd3, library]

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]


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 BSD3
Author Adam Curtis
Stability Unknown
Category Control, Logic, Monad
Home page
Source repository head: git clone git://
Uploaded Wed May 30 20:14:27 UTC 2012 by AdamCurtis
Distributions Debian:, NixOS:
Downloads 5195 total (31 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for cond

Readme for cond-


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.