Safe Haskell | Safe |
---|---|

Language | Haskell98 |

## Synopsis

- logic1List :: [Symbol]
- equivalentSymbol :: Symbol
- notSymbol :: Symbol
- andSymbol :: Symbol
- xorSymbol :: Symbol
- orSymbol :: Symbol
- impliesSymbol :: Symbol
- trueSymbol :: Symbol
- falseSymbol :: Symbol

# Documentation

logic1List :: [Symbol] Source #

List of symbols defined in logic1 dictionary

equivalentSymbol :: Symbol Source #

This symbol is used to show that two boolean expressions are logically equivalent, that is have the same boolean value for any inputs.

This symbol represents the logical not function which takes one boolean argument, and returns the opposite boolean value.

This symbol represents the logical and function which is an n-ary function taking boolean arguments and returning a boolean value. It is true if all arguments are true or false otherwise.

This symbol represents the logical xor function which is an n-ary function taking boolean arguments and returning a boolean value. It is true if there are an odd number of true arguments or false otherwise.

This symbol represents the logical or function which is an n-ary function taking boolean arguments and returning a boolean value. It is true if any of the arguments are true or false otherwise.

impliesSymbol :: Symbol Source #

This symbol represents the logical implies function which takes two boolean expressions as arguments. It evaluates to false if the first argument is true and the second argument is false, otherwise it evaluates to true.

trueSymbol :: Symbol Source #

This symbol represents the boolean value true.

falseSymbol :: Symbol Source #

This symbol represents the boolean value false.