We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a165389 commit 9b2de50Copy full SHA for 9b2de50
src/truth-table.lisp
@@ -3,6 +3,9 @@
3
4
(in-package :lisp-inference)
5
6
+(defparameter *truth-string* "T")
7
+(defparameter *false-string* "F")
8
+
9
(defun propositionp (symbol)
10
"Check if the given SYMBOL can be a proposition (letters)"
11
(and (atom symbol)
@@ -106,8 +109,8 @@
106
109
107
110
(defun pretty-values (v)
108
111
(if (not (null v))
- "T"
- "F"))
112
+ *truth-string*
113
+ *false-string*))
114
115
(defun prepare-table (evaluated-cases)
116
"Get the evaluated cases after EVAL-OPERATIONS
0 commit comments