X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Futils.lisp;h=49d552fa000e92f904e553025087c7ac8d91dfbd;hb=f91d0bc6c6737b89880151f3b2dffbce0b47eb82;hp=d23aff755ca0124606aad07a3334149dcd288f1b;hpb=869a1f5516006aba36b927d447206f686206fbc1;p=fiveam.git diff --git a/src/utils.lisp b/src/utils.lisp index d23aff7..49d552f 100644 --- a/src/utils.lisp +++ b/src/utils.lisp @@ -92,7 +92,10 @@ ELSE will be executed." (acond2 ,@others))))))) (defun varsymp (x) - (and (symbolp x) (eq (aref (symbol-name x) 0) #\?))) + (and (symbolp x) + (let ((name (symbol-name x))) + (and (>= (length name) 2) + (char= (char name 0) #\?))))) (defun binding (x binds) (labels ((recbind (x binds)