Skip to content

1hko/elm-truth-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"))
    ]

About

Automatically generate truth tables for use with propositional logic

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages