| Copyright | © Oleg Grenrus 2014 |
|---|---|
| License | MIT |
| Maintainer | Oleg Grenrus <oleg.grenrus@iki.fi> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Algebra.Boolean.FreeBoolean
Description
Synopsis
- data FreeBoolean a
- = FBValue a
- | FBTrue
- | FBFalse
- | FBNot (FreeBoolean a)
- | FBAnd (FreeBoolean a) (FreeBoolean a)
- | FBOr (FreeBoolean a) (FreeBoolean a)
- module Data.Algebra.Boolean.CoBoolean
Documentation
data FreeBoolean a Source #
Free Boolean type, does not perform any optimizations on the structure. Useful only in tests.
Consider using NNF.
Constructors
| FBValue a | |
| FBTrue | |
| FBFalse | |
| FBNot (FreeBoolean a) | |
| FBAnd (FreeBoolean a) (FreeBoolean a) | |
| FBOr (FreeBoolean a) (FreeBoolean a) |