bubblegum has quit [Read error: Connection reset by peer]
Bubblegumdrop has quit [Quit: ZNC 1.8.2+deb4+b2 - https://znc.in]
bubblegum has joined #commonlisp
Bubblegumdrop has joined #commonlisp
rselim has joined #commonlisp
cpli has joined #commonlisp
bubblegum has quit [Ping timeout: 256 seconds]
ggb has joined #commonlisp
whereiseveryone has joined #commonlisp
brettgilio has joined #commonlisp
alethkit has joined #commonlisp
mhcat has joined #commonlisp
bubblegum has joined #commonlisp
pvac has joined #commonlisp
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
sherbert has joined #commonlisp
synchrom1 has quit [Quit: WeeChat 2.8]
synchrom1 has joined #commonlisp
synchromesh is now known as synchrom2
synchrom1 is now known as synchromesh
mgl has quit [Ping timeout: 264 seconds]
bubblegum has quit [Ping timeout: 264 seconds]
bubblegum has joined #commonlisp
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
bubblegum has quit [Ping timeout: 264 seconds]
azimut has joined #commonlisp
bubblegum has joined #commonlisp
akoana has joined #commonlisp
NicknameJohn has joined #commonlisp
NicknameJohn has quit [Client Quit]
bilegeek has joined #commonlisp
bubblegum has quit [Ping timeout: 264 seconds]
bubblegum has joined #commonlisp
josrr has quit [Remote host closed the connection]
mgl has joined #commonlisp
X-Scale has joined #commonlisp
tok has quit [Remote host closed the connection]
josrr has joined #commonlisp
random-nick has quit [Ping timeout: 264 seconds]
amb007 has joined #commonlisp
Bubblegumdrop has quit [Quit: ZNC 1.8.2+deb4+b2 - https://znc.in]
Bubblegumdrop has joined #commonlisp
Bubblegumdrop has quit [Client Quit]
Bubblegumdrop has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
Bubblegumdrop has quit [Quit: ZNC 1.8.2+deb4+b2 - https://znc.in]
Bubblegumdrop has joined #commonlisp
mgl has quit [Ping timeout: 252 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
Bubblegumdrop has quit [Quit: ZNC 1.8.2+deb4+b2 - https://znc.in]
Bubblegumdrop has joined #commonlisp
puke has quit [Ping timeout: 276 seconds]
Bubblegumdrop has quit [Client Quit]
jmdaemon has joined #commonlisp
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
ymir has joined #commonlisp
bubblegum has quit [Ping timeout: 264 seconds]
bubblegum has joined #commonlisp
SunClonus has quit [Quit: Leaving]
SunClonus has joined #commonlisp
SunClonus has quit [Remote host closed the connection]
SunClonus has joined #commonlisp
SunClonus has quit [Remote host closed the connection]
SunClonus has joined #commonlisp
SunClonus has quit [Remote host closed the connection]
SunClonus has joined #commonlisp
SunClonus has quit [Remote host closed the connection]
SunClonus has joined #commonlisp
* edgar-rft
wants a JOIN function that works on IRC
* gilberth
passes CL-IRC:JOIN.
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
bubblegum has quit [Ping timeout: 256 seconds]
bubblegum has joined #commonlisp
X-Scale has quit [Quit: Client closed]
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
khrbtxyz has quit [Ping timeout: 256 seconds]
SunClonus has quit [Quit: Leaving]
khrbtxyz has joined #commonlisp
SunClonus has joined #commonlisp
SunClonus has quit [Remote host closed the connection]
bubblegum has quit [Ping timeout: 264 seconds]
bubblegum has joined #commonlisp
josrr has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 276 seconds]
akoana has quit [Quit: leaving]
Lycurgus has joined #commonlisp
ymir has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
epony has quit [Ping timeout: 264 seconds]
bubblegum has quit [Read error: Connection reset by peer]
bubblegum has joined #commonlisp
ymir has joined #commonlisp
igemnace has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
igemnace has quit [Quit: WeeChat 4.2.1]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
synchrom2 has quit [Quit: Client closed]
epony has joined #commonlisp
ymir has quit [Remote host closed the connection]
ymir has joined #commonlisp
ymir has quit [Ping timeout: 276 seconds]
meritamen has joined #commonlisp
decweb has quit [Ping timeout: 276 seconds]
danza has joined #commonlisp
mulk has quit [Ping timeout: 264 seconds]
mulk has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
johnjaye has quit [Ping timeout: 268 seconds]
bilegeek has quit [Quit: Leaving]
johnjaye has joined #commonlisp
msavoritias has joined #commonlisp
meritamen has quit [Quit: I gotta go...]
herjazz has joined #commonlisp
ym has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
easye has quit [Ping timeout: 260 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
easye has joined #commonlisp
mulk has quit [Ping timeout: 276 seconds]
benkard has joined #commonlisp
benkard is now known as mulk
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
rgherdt has joined #commonlisp
wacki has joined #commonlisp
wacki has quit [Client Quit]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
danza has quit [Read error: Connection reset by peer]
bilegeek has joined #commonlisp
wacki has joined #commonlisp
danza has joined #commonlisp
cage has joined #commonlisp
<beach>
Does the standard say anything about whether the operator is checked in macro functions, so that a macro function associated with FOO checks that the CAR of the form it is given is FOO, and perhaps signal an error otherwise?
<beach>
In case the question is not clear, here is an example: Say I do (DEFMACRO FOO (...) ...) and then (SETF (MACRO-FUNCTION 'BAR) (MACRO-FUNCTION 'FOO)) and then (BAR ...). Is that allowed?
shka has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
donleo has joined #commonlisp
mulk has quit [Ping timeout: 256 seconds]
mulk has joined #commonlisp
danza has joined #commonlisp
ym has quit [Ping timeout: 246 seconds]
cage has quit [Quit: rcirc on GNU Emacs 29.1]
wacki has joined #commonlisp
tok has joined #commonlisp
Posterdati has joined #commonlisp
bilegeek has quit [Quit: Leaving]
dino__ has joined #commonlisp
Lycurgus has quit [Quit: leaving]
mulk has quit [Ping timeout: 268 seconds]
<splittist>
are macro-function and (setf macro-function) horribly asymmetric, or am I misreading the spec?
mulk has joined #commonlisp
random-nick has joined #commonlisp
cage has joined #commonlisp
jrx has joined #commonlisp
dcb has quit [Quit: Connection closed for inactivity]
puchacz has joined #commonlisp
jjnkn has joined #commonlisp
mesaoptimizer has joined #commonlisp
cosimone has joined #commonlisp
danza has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
puke has joined #commonlisp
attila_lendvai_ has joined #commonlisp
rogersm has joined #commonlisp
msv has quit [Remote host closed the connection]
X-Scale has quit [Quit: Client closed]
dra has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 255 seconds]
josrr has joined #commonlisp
agm has joined #commonlisp
<agm>
beach: while it's true that a macro function receives the whole macro form as first argument, including the macro name, I don't think it's reasonable to check it
hayley has quit [Quit: leaving]
epony has quit [Remote host closed the connection]
cosimone has quit [Ping timeout: 276 seconds]
chomwitt has joined #commonlisp
decweb has joined #commonlisp
tyson2 has joined #commonlisp
johnjaye has quit [Ping timeout: 256 seconds]
rogersm has quit [Remote host closed the connection]
johnjaye has joined #commonlisp
johnjaye has quit [Ping timeout: 260 seconds]
waleee has joined #commonlisp
johnjaye has joined #commonlisp
X-Scale has joined #commonlisp
cosimone has joined #commonlisp
dra has quit [Ping timeout: 276 seconds]
NicknameJohn has joined #commonlisp
herjazz has quit [Quit: leaving]
<splittist>
(Probably me misreading)
epony has joined #commonlisp
jmdaemon has quit [Ping timeout: 264 seconds]
rogersm has joined #commonlisp
rogersm has quit [Ping timeout: 276 seconds]
wacki has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<beach>
agm: Thanks.
tyson2 has quit [Read error: Connection reset by peer]
jjnkn has quit [Ping timeout: 268 seconds]
yitzi has joined #commonlisp
jrx has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
prokhor__ has quit [Remote host closed the connection]
rogersm has joined #commonlisp
rogersm has quit [Ping timeout: 268 seconds]
prokhor has joined #commonlisp
tyson2 has joined #commonlisp
rogersm has joined #commonlisp
jonatack has quit [Ping timeout: 255 seconds]
jonatack has joined #commonlisp
rogersm has quit [Client Quit]
jonatack has quit [Ping timeout: 276 seconds]
wacki has joined #commonlisp
jonatack has joined #commonlisp
Krystof has joined #commonlisp
johnjaye has quit [Ping timeout: 264 seconds]
johnjaye has joined #commonlisp
waleee has quit [Ping timeout: 260 seconds]
azimut has quit [Ping timeout: 255 seconds]
cosimone has quit [Remote host closed the connection]
traidare has quit [Ping timeout: 264 seconds]
meritamen has joined #commonlisp
waleee has joined #commonlisp
yitzi has quit [Ping timeout: 256 seconds]
yitzi has joined #commonlisp
alex_ has joined #commonlisp
_cymew_ has quit [Ping timeout: 252 seconds]
meritamen has quit [Remote host closed the connection]
alex_p has quit [Ping timeout: 240 seconds]
dcb has joined #commonlisp
yitzi has quit [Ping timeout: 268 seconds]
yitzi has joined #commonlisp
SunClonus has joined #commonlisp
SunClonus has quit [Client Quit]
X-Scale has quit [Quit: Client closed]
knusbaum has joined #commonlisp
<yagkasha>
okay so I figured out that having "(load (expand-file-name "~/quicklisp/slime-helper.el"))" in my init is causing M-. to not work
<yagkasha>
but "(autoload 'slime "~/quicklisp/slime-helper.el" "Launch SLIME" t nil)" seems to work fine
jjnkn has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
benkard has joined #commonlisp
mulk has quit [Ping timeout: 256 seconds]
benkard is now known as mulk
msv has joined #commonlisp
knusbaum has quit [Ping timeout: 268 seconds]
SunClonus has joined #commonlisp
mm007emko has quit [Ping timeout: 255 seconds]
mm007emko has joined #commonlisp
zetef has joined #commonlisp
chomwitt has quit [Ping timeout: 268 seconds]
zetef has quit [Remote host closed the connection]
SunClonus has quit [Quit: Leaving]
mm007emko has quit [Read error: Connection reset by peer]
tyson2 has joined #commonlisp
mm007emko has joined #commonlisp
bubblegum has quit [Ping timeout: 264 seconds]
dra has joined #commonlisp
bubblegum has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
slyrus has joined #commonlisp
bubblegum has quit [Ping timeout: 252 seconds]
yitzi has quit [Ping timeout: 256 seconds]
yitzi_ has joined #commonlisp
ymir has joined #commonlisp
azimut has joined #commonlisp
azimut has quit [Ping timeout: 255 seconds]
epony has quit [Remote host closed the connection]
a51 has joined #commonlisp
epony has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
yitzi_ has quit [Remote host closed the connection]
yitzi has joined #commonlisp
yitzi has quit [Ping timeout: 255 seconds]
yitzi has joined #commonlisp
gxt has quit [Ping timeout: 255 seconds]
gxt has joined #commonlisp
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
yitzi has quit [Ping timeout: 246 seconds]
yitzi has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
azimut has joined #commonlisp
`Pixel_Outlaw has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
tyson2 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
mulk has quit [Ping timeout: 256 seconds]
NicknameJohn has quit [Ping timeout: 252 seconds]
mulk has joined #commonlisp
tyson2 has joined #commonlisp
amb007 has joined #commonlisp
ym has joined #commonlisp
tyson2 has quit [Read error: Connection reset by peer]
X-Scale has joined #commonlisp
agm has quit [Read error: Connection reset by peer]
<thuna`>
Renfield: macros don't evaluate their arguments, so with (let-list* vals ...) you are calling LIST-PAIRS with PAIR-LIST as the *symbol* VALS, and not its value
<Renfield>
Thanks a lot, I see now. I need to do (eval key-vals). That works the way I expect if the macro were pretending to be a function there.
chomwitt has joined #commonlisp
<bike>
it is generally not a good idea to use eval, and especially not for this
<bike>
most notably, EVAL doesn't know about your lexical environment, so if key-vals is a lexical variable problems will occur
NicknameJohn has joined #commonlisp
azimut has quit [Remote host closed the connection]
<Renfield>
What would be the proper way to do this? Or is this entire thing discouraged?
<bike>
well, i'm not sure i understand exactly what you want to do. you want to expand into a let*? so you're binding variables. but the variables are only known at runtime? that's a very unusual thing to want to do. what is the context of this operation?
fitzsim has quit [Ping timeout: 264 seconds]
azimut has joined #commonlisp
SunClonus has joined #commonlisp
<Renfield>
My intermediate problem is that I want to be able to use &key and &body, but they don't work well together, sometimes giving me errors for odd number of keys. So I'm trying to devise an interface that doesn't have such limitations. I pass int a set of key-value pairs and a body and let* does the assignment and runs the body with them.
SunClonus has quit [Client Quit]
epony has quit [Remote host closed the connection]
ymir has quit [Ping timeout: 268 seconds]
<thuna`>
Renfield: Do you want the macro to accept an arbitrary amount of keyword arguments?
<Renfield>
Yes, that would be nice.
<Renfield>
With the example, I provide two, but I could provide one or none.
akoana has joined #commonlisp
<thuna`>
There's &allow-other-keys for that, see ,clhs 3.4.1.4
<bike>
i don't follow how the (let-list* vals ...) is involved, though
<thuna`>
Essentially, you can do `&rest ARGS &key FOO BAR &allow-other-keys' and you will have FOO and BAR bound normally and ARGS will contain a plist of all the arguments passed (including those for FOO and BAR)
<aeth>
the fun thing about allow-other-keys is that it works in both directions because you can `:allow-other-keys t` on the caller side, too
fitzsim has joined #commonlisp
<Renfield>
I want to be able to define a macro which uses lets say one key and has a body. I have done that. If I call that macro, provide the key value and one form for the body, I get an error regarding an odd number of key val parameters (I don't remember the exact error message).
johnjaye has quit [Ping timeout: 255 seconds]
<bike>
could you give an example of how you try to use the macro that causes the problem?
<Renfield>
Okay, let me reproduce.
johnjaye has joined #commonlisp
ymir has joined #commonlisp
NicknameJohn has quit [Ping timeout: 256 seconds]
<thuna`>
Renfield: You cannot do what you are describing with &key. Your options are to: 1. have the lambda list be as bike suggested, ((&key FOO) &body BODY), or 2. have the lambda list be (&body BODY) and pop the first two elements if the first is a keyword.
<thuna`>
In the first case, your macro's signature will be like (mymacro (:foo foo) body...), and in the second case it will be like (mymacro :foo foo body...) but it will be possible for the caller to omit `:foo foo'.
<thuna`>
I would suggest that you go for the first option.
randm has quit [Remote host closed the connection]
<Renfield>
Oh. I did not know you can have nested lists in the parameter section. I will have to investigate this possibility.
zxcvz has joined #commonlisp
puchacz has quit [Quit: Client closed]
randm has joined #commonlisp
zxcvz has quit [Client Quit]
tyson2 has quit [Remote host closed the connection]
amb007 has quit [Remote host closed the connection]