Basic conditional and boolean operators with monadic variants.

Version on this page:
LTS Haskell 22.23:0.5.1
Stackage Nightly 2024-05-30:0.5.1
Latest on Hackage:0.5.1

See all snapshots cond appears in

BSD-3-Clause licensed by Adam Curtis
Maintained by [email protected]
This version can be pinned in stack with:cond-,1075

Module documentation for

  • Control
    • Control.Conditional
  • Data
    • Data.Algebra
      • Data.Algebra.Boolean
Depends on 1 package(full list with versions):
Used by 1 package in lts-0.7(full list with versions):


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.