~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
src/pset-parse.lisp: Replace `dispatch' by some more elementary functions.
[sod]
/
src
/
pset-impl.lisp
diff --git
a/src/pset-impl.lisp
b/src/pset-impl.lisp
index
f5650cf
..
42049db
100644
(file)
--- a/
src/pset-impl.lisp
+++ b/
src/pset-impl.lisp
@@
-75,9
+75,9
@@
name (package-name package)))))))))
(let ((truth-map (make-hash-table :test #'equalp)))
name (package-name package)))))))))
(let ((truth-map (make-hash-table :test #'equalp)))
- (dolist (string '("true" "t" "yes" "on" "verily"))
+ (dolist (string '("true" "t" "yes" "on" "
yup" "
verily"))
(setf (gethash string truth-map) t))
(setf (gethash string truth-map) t))
- (dolist (string '("false" "nil" "no" "off" "nowise"))
+ (dolist (string '("false" "nil" "no" "off" "no
pe" "no
wise"))
(setf (gethash string truth-map) nil))
(defun truishp (string)
"Convert STRING to a boolean."
(setf (gethash string truth-map) nil))
(defun truishp (string)
"Convert STRING to a boolean."