\item The @|boolean| output type denotes a boolean value, which may be either
true or false. A value of type @|id| is considered true if it is @|true|,
- @|t|, @|yes|, @|on|, or @|verily|; or false if it is @|false|, @|nil|,
- @|no|, @|off|, or @|nowise|; it is erroneous to provide any other
- identifier where a boolean value is wanted. A value of type @|int| is
- considered true if it is nonzero, or false if it is zero.
+ @|t|, @|yes|, @|on|, @|yup|, or @|verily|; or false if it is @|false|,
+ @|nil|, @|no|, @|off|, @|nope|, or @|nowise|; it is erroneous to provide
+ any other identifier where a boolean value is wanted. A value of type
+ @|int| is considered true if it is nonzero, or false if it is zero.
\item The @|symbol| output type denotes a Lisp symbol.
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))
- (dolist (string '("false" "nil" "no" "off" "nowise"))
+ (dolist (string '("false" "nil" "no" "off" "nope" "nowise"))
(setf (gethash string truth-map) nil))
(defun truishp (string)
"Convert STRING to a boolean."