Need a web developer?
The creator of SymbolHound is available for contract work for select clients. Send an email to email@example.com
to see if we might want to work together.
nil's are dropped (string (delete-if #'null (map 'list #'unpack (rfs str)))) ;; symbol -> list of values (symbol (unpack (rfs (symbol-name str)))) ;; list
Lisp: http://www.gigamonkeys.com/book/variables.html When coming to Common Lisp from more procedural languages, many tend to overuse `setf` for
Coercing numbers to lists in common lisp Coercing numbers to lists in common lisp I'd like to turn integers into lists. For example, 2245 => (2 2 4
almost any kind of application in almost any programming language, especially in such a powerful one as Lisp (be it Scheme or Common Lisp). But is it
What is wrong with the following Common Lisp macro using gensym? What is wrong with the following Common Lisp macro using gensym? Learning Common
lisp lambda function lisp lambda function (repeat-transformation #'(lambda (x) (* 2 x)) 4 1) This is a LISP lambda function , i don't understand what
bit confusing. Tags: lisp package symbols cl PS: Common Lisp's `gethash` has no dash. Also, if all keys are symbols, there is no need for the `:test
(MULTIPLE-VALUE-BIND (#:NEW1058) 23 (FUNCALL #'(SETF GET-VALUE) #:NEW1058))) T In Common Lisp, that is a place . A place is a form for which a setf expander is defined.
each time. Maybe my whole implementation is wrong. Thanks for looking! (defun ascending (L) (sort L #'<) ) (defun descending (L) (sort L #'>) ) (defun
LISP - Breadth First Search LISP - Breadth First Search I have an implementation of BFS I got elsewhere and modified slightly, but I am having