freenode/#lisp - IRC Chatlog
Search
6:52:17
holycow
anyone here use stumpwm? i'm doing a big of testing in emacs and drawing with code using sketch.
6:53:08
holycow
every time sketch draws something new it steals the window focus. anyone know if there is a way to stop the sketch window from setaling focus when emacs sends a live command to draw something to the sketch window?
7:25:21
opcode
hi all, newbie question: is there a reason why one might prefer (mapcar) over (map 'list ) or vice-versa?
7:29:31
beach
opcode: There is a very general rule in programming. You should choose the most specific construct that will do the job.
7:30:29
beach
The rule exists to make it faster to understand the code by someone who didn't write it, or by the same person who wrote it, but a few weeks later.
7:31:47
aeth
If you expect lists, use mapcar. If you are writing a general function on arbitrary input, map 'list might be preferable.
10:58:00
luis
phoe (or anyone else): do all Lisps that support package-local-nicknames push :package-local-nicknames to *features* or is it best to check whether the foo:package-local-nicknames symbol exists?
11:37:35
luis
(well, it contains a test suite that will presumably fail if the functions are undefined)
17:48:20
luis
phoe: in that case, does this look OK? https://github.com/slime/slime/commit/708d9750fff3ade572ec5d156b003fb49335f50e
17:49:39
luis
I couldn't get CCL running on Windows, Lispworks isn't released yet, my version of ACL doesn't include package local nicknames yet and... didn't investigate whether I could get Clasp running here. *sigh*
17:51:03
luis
phoe: SLIME will be ready then. I've also tweaked the inspector to display package-local nicknames.
18:27:01
Xach
phoe: it needs to be fixed to build with latest sbcl, i don't know if there's a pr but that would be helpful