From: Alfredo Beaumont Date: Sun, 12 May 2013 11:45:59 +0000 (+0200) Subject: Add support for STRINGP function X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=1037cbf99ccaa55d6d0c799fcefbcffda4f7b486;p=jscl.git Add support for STRINGP function --- diff --git a/src/string.lisp b/src/string.lisp index 04aa7f1..d48ff3e 100644 --- a/src/string.lisp +++ b/src/string.lisp @@ -25,6 +25,9 @@ (unless (char= (char s1 i) (char s2 i)) (return-from string= nil)))))) +(defun stringp (s) + (stringp s)) + (define-setf-expander char (string index) (let ((g!string (gensym)) (g!index (gensym))