lispdoc - results for make-sequence |
(make-sequence type length &key (initial-element nil iep)) | Function: Return a sequence of the given TYPE and LENGTH, with elements initialized to INITIAL-ELEMENT.
|
| Mentioned in: CLtL2 - 14.1. Simple Sequence Functions HyperSpec - Function MAKE-SEQUENCE Successful Lisp - chapter12 | |
(make-string count &key (element-type 'character) ((initial-element fill-char))) | Function: Given a character count and an optional fill character, makes and returns a new string COUNT long filled with the fill character.
|
Example:(defun %get-indent (num) "returns indent as string" (make-string (+ num +hierarchy-indent+) :initial-element #\ )) | Mentioned in: CLtL2 - 14.1. Simple Sequence Functions CLtL2 - 18.3. String Construction and Manipulation HyperSpec - Function MAKE-STRING Successful Lisp - characters |
(make-symbol string) | Function: Make and return a new symbol with the STRING as its print name.
|
Example:(defun new-symbol (&rest args) "Concatenate symbols or strings to form an uninterned symbol" (make-symbol (format nil "~{~a~}" args))) | Mentioned in: CLtL2 - 10.3. Creating Symbols HyperSpec - Function MAKE-SYMBOL |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
| By Bill Moorier |