libera/#commonlisp - IRC Chatlog
Search
17:34:33
jjnkn
how to correctly generate defun with a computed name in a macro? i'm getting a function named |name| instead of just name, and don't understand why
17:37:12
bike
like if you write (defun foo ...), the symbol will have an actual name of FOO. you can try it, do (symbol-name 'defun). you'll get "DEFUN"
17:39:21
edgar-rft
jjnkn: you need (format nil "~:@(~a~)-~:@(~a~)" 'a 'b) because the default readtable-case is :UPOCASE
20:34:41
bike
jmercouris: launch-program specifically has &allow-other-keys, probably because different implementations might have their own keywords
21:42:41
_death
maybe it would've been preferable for it not to have &allow-other-keys, so that someone who wants to pass implementation-specific keys would have to specify :allow-other-keys t
21:49:10
_death
it also passes :allow-other-keys t to the implementation's run-program, which is why it doesn't signal an error