summaryrefslogtreecommitdiff
path: root/char.lisp
blob: 8d1f21cd3aa410deb809219e07481d411df9cc58 (plain)
1
2
3
4
5
6
7
(in-package #:char)

(defun whitespace? (x)
  (some (lambda (y) (char= x y)) '(#\Space #\Newline #\Tab)))

(defun visible? (x)
  (char/= x #\Space #\Newline #\Tab))