This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0
generates truth table for use with propositional logic
version 2.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 2.0.0
Committed At 2018-07-21 06:22:32 UTC
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1

README

TruthTable

A library for generating truth tables.

Example

import TruthTable
import TruthTable.Expr exposing (Expr(..))

-- De Morgan's Law
TruthTable.fromExprs
    [ Not (Or (Var "P") (Var "Q"))
    , And (Not (Var "P")) (Not (Var "Q"))
    ]