aboutsummaryrefslogtreecommitdiff
path: root/Logic.dcl
diff options
context:
space:
mode:
authorCamil Staps2015-07-03 17:24:29 +0200
committerCamil Staps2015-07-03 17:32:30 +0200
commite7eddf78e5fc3c9621b4e819d98e406dd9cb4748 (patch)
tree87c455f97f1211fdd227d374dcece9c5fb50d20e /Logic.dcl
parentParser; cleanup (diff)
Improved parser
Diffstat (limited to 'Logic.dcl')
-rw-r--r--Logic.dcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Logic.dcl b/Logic.dcl
index 7e50822..1a0821b 100644
--- a/Logic.dcl
+++ b/Logic.dcl
@@ -85,6 +85,7 @@ subexprs :: Expr -> [Expr] // Subexpressions of an expression
sorted_subexprs :: (Expr -> [Expr]) // Similar, but roughly sorted by complexity
simple_truthtable :: Expr -> TruthTable // Simple truthtable: only the atomic expression and the expression itself
+simple_truthtable_n :: [Expr] -> TruthTable // Simple truthtable with multiple expressions
truthtable :: Expr -> TruthTable // Truthtable from an expression
parse :: String -> Expr // Parse a string into an expression