CDE
This commit is contained in:
parent
518da4a923
commit
764da6cbbb
6144 changed files with 83610 additions and 11 deletions
4
Task/Empty-string/Common-Lisp/empty-string.lisp
Normal file
4
Task/Empty-string/Common-Lisp/empty-string.lisp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
(defparameter *s* "") ;; Binds dynamic variable *S* to the empty string ""
|
||||
(let ((s "")) ;; Binds the lexical variable S to the empty string ""
|
||||
(= (length s) 0) ;; Check if the string is empty
|
||||
(> (length s) 0)) ;; Check if length of string is over 0 (that is: non-empty)
|
||||
Loading…
Add table
Add a link
Reference in a new issue