jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
notzmv has joined #commonlisp
NotThatRPG has quit [Quit: Textual IRC Client: www.textualapp.com]
johnjaye has joined #commonlisp
amb007 has joined #commonlisp
livoreno has joined #commonlisp
chum-cha has quit [Read error: Connection reset by peer]
chum-cha has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
edgar-rft_ has joined #commonlisp
edgar-rft` has quit [Ping timeout: 252 seconds]
jonatack has quit [Ping timeout: 244 seconds]
jonatack has joined #commonlisp
mwnaylor has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
chum-cha` has joined #commonlisp
chum-cha has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
chum-cha` has quit [Client Quit]
chum-cha has joined #commonlisp
chum-cha has quit [Changing host]
chum-cha has joined #commonlisp
spdegabrielle has quit [Quit: Connection closed for inactivity]
kevingal has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
jonatack has quit [Read error: Connection reset by peer]
johnjaye has quit [Ping timeout: 264 seconds]
johnjaye has joined #commonlisp
amb007 has quit [Remote host closed the connection]
amb007 has joined #commonlisp
jonatack has joined #commonlisp
rkazak has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
livoreno has quit [Quit: Connection closed for inactivity]
rkazak has quit [Ping timeout: 248 seconds]
brokkoli_origin has quit [Ping timeout: 260 seconds]
brokkoli_origin has joined #commonlisp
rkazak has joined #commonlisp
bpas has joined #commonlisp
pkal has quit [Ping timeout: 248 seconds]
pkal_ has joined #commonlisp
pkal_ is now known as pkal
rkazak has quit [Ping timeout: 265 seconds]
jonatack has joined #commonlisp
chum-cha` has joined #commonlisp
chum-cha has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
chum-cha` has quit [Remote host closed the connection]
chum-cha has joined #commonlisp
chum-cha has quit [Remote host closed the connection]
rkazak has joined #commonlisp
random-nick has quit [Ping timeout: 265 seconds]
bpas has left #commonlisp [#commonlisp]
rkazak has quit [Ping timeout: 252 seconds]
shawnw has joined #commonlisp
phantomics__ has quit [Quit: Leaving]
phantomics has joined #commonlisp
rkazak has joined #commonlisp
AetherWind has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
pranav has quit [Quit: Gateway shutdown]
pranav has joined #commonlisp
rkazak has joined #commonlisp
decweb has quit [Ping timeout: 252 seconds]
vardhan_ has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
jonatack has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
Posterdati has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
Posterdati has joined #commonlisp
markb1 has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 248 seconds]
markb1 has joined #commonlisp
shka has joined #commonlisp
shka has quit [Client Quit]
shka has joined #commonlisp
domovod has joined #commonlisp
domovod has quit [Quit: WeeChat 4.4.4]
rkazak has joined #commonlisp
wacki has joined #commonlisp
jrm has quit [Quit: ciao]
jrm has joined #commonlisp
rkazak has quit [Ping timeout: 264 seconds]
pranav has quit [Remote host closed the connection]
AetherWind has quit [Quit: leaving]
shka has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
minion has quit [Remote host closed the connection]
specbot has quit [Remote host closed the connection]
easye has quit [Remote host closed the connection]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
robin has quit [Quit: Leaving]
dino_tutter has joined #commonlisp
manwithluck has quit [Ping timeout: 276 seconds]
robin has joined #commonlisp
manwithluck has joined #commonlisp
pranav has joined #commonlisp
elnegro has joined #commonlisp
elnegro has left #commonlisp [#commonlisp]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
mgl_ has joined #commonlisp
rkazak has joined #commonlisp
pranav has quit [Remote host closed the connection]
pranav has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
brokkoli_origin has quit [Ping timeout: 244 seconds]
brokkoli_origin has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
dino_tutter has quit [Ping timeout: 264 seconds]
rkazak has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
decweb has joined #commonlisp
random-nick has joined #commonlisp
zephyr has quit [Ping timeout: 252 seconds]
kevingal has joined #commonlisp
puke has quit [Remote host closed the connection]
yitzi has joined #commonlisp
puke has joined #commonlisp
zephyr has joined #commonlisp
puke has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 260 seconds]
dalem has joined #commonlisp
zephyr has quit [Quit: Ping timeout (120 seconds)]
chum-cha has joined #commonlisp
chum-cha has quit [Changing host]
chum-cha has joined #commonlisp
MyNetAz has quit [Read error: Connection reset by peer]
MyNetAz has joined #commonlisp
mwnaylor has joined #commonlisp
rkazak has joined #commonlisp
dalem has quit [Ping timeout: 252 seconds]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
puke has joined #commonlisp
puke has quit [Remote host closed the connection]
mishoo has joined #commonlisp
puke has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
wacki has joined #commonlisp
yitzi has quit [Remote host closed the connection]
McParen has joined #commonlisp
mwnaylor has quit [Read error: Connection reset by peer]
mwnaylor has joined #commonlisp
puke has quit [Remote host closed the connection]
gnoo has quit [Ping timeout: 248 seconds]
gnoo has joined #commonlisp
puke has joined #commonlisp
AetherWind has joined #commonlisp
<beach> In SBCL 2.4.8 this form: (loop for x in '(1 2 3 4) by #'cddr collect x) work, but this form: (loop for x in (reverse '(1 2 3 4)) by #'cddr collect x) fails with an error that BY is not a valid LOOP keyword. Can anyone reproduce that?
robin has quit [Remote host closed the connection]
<random-nick> beach: I think I experienced that bug a few months ago, you can work around it by making it not obvious it's a call to REVERSE, like (identity (reverse ...))
<random-nick> it's some bug with some optimisation around iterating over the result of REVERSE
gdsg has joined #commonlisp
JuanDaugherty has joined #commonlisp
<beach> Oh, wow! Thanks! I was going to do WITH REV = (REVERSE...) FOR X IN REV...
puke has quit [Remote host closed the connection]
gdr3941 has joined #commonlisp
puke has joined #commonlisp
jonatack has joined #commonlisp
puke has quit [Client Quit]
robin has joined #commonlisp
rkazak has joined #commonlisp
puke has joined #commonlisp
puke has quit [Client Quit]
puke has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
<beach> I can't even imagine how such a bug would happen.
cage has joined #commonlisp
cage has quit [Excess Flood]
jonatack has joined #commonlisp
cage has joined #commonlisp
mishoo has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 248 seconds]
JuanDaugherty has quit [Quit: JuanDaugherty]
pve has joined #commonlisp
markb1 has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
rkazak has joined #commonlisp
<beach> I mean, why would this optimization influence the LOOP macro?
markb1 has joined #commonlisp
jonatack has quit [Ping timeout: 248 seconds]
<random-nick> beach: I'm guessing the optimisation is implemented as a special "clause" in LOOP which goes like for something in (reverse ...), but they forgot to parse the BY part
<bike> my sbcl is a little older but the reverse version works fine for me. weird.
jonatack has joined #commonlisp
<bike> but i do see it in 2.4.8
<beach> I suspected a recent SBCL because the PSETF macro in Common Macro Definitions prompted the error.
<beach> bike: And that happened because I had forgotten to pull your changes to that library.
<beach> So after I did, SICL bootstrapping failed.
<ixelp> Optimize (loop for x in (reverse list)) · sbcl/sbcl@36fc0b2 · GitHub
<beach> Looks plausible.
<bike> because list-reverse-into-vector doesn't have anything like by... right.
<beach> Ah, yes, I see.
<beach> bike: I am still not sure why this issue happened at this point for me. Did you put in the (REVERSE ...) in PSETF?
<beach> My git knowledge is not good enough to find out.
<bike> i don't think so? i did move it out of the "low" system, so maybe you're loading it now and weren't before, or something?
<beach> Something like that, yes.
<beach> Anyway, I added a with ... = (reverse ...) and a comment about SBCL.
<ixelp> New system for common macro definitions as ordinary macros. · robert-strandh/Common-macros@938f6b3 · GitHub
<bike> i can file a bug with sbcl if you want
<beach> Sure, that would be nice.
<beach> And thanks for the link.
<beach> It must have been that I didn't include PSETF in the ASDF system before, or something similar.
semarie has quit [Ping timeout: 252 seconds]
<beach> Issues like this make me glad we have chosen a strategy of extraction of code to independently useful libraries, hopefully with test suites.
<beach> Maybe I should plan a lightning talk at ELS to give a list of existing and planned such libraries.
rkazak has quit [Ping timeout: 245 seconds]
<beach> scymtym: Do you plan to go to ELS 2025?
semarie has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
<ixelp> Bug #2091210 “loop reverse BY macroexpansion error” : Bugs : SBCL
<beach> Thank you!
<scymtym> beach: i don't have concrete plans at the moment
<beach> OK.
yitzi has joined #commonlisp
gdr3941 has quit [Ping timeout: 252 seconds]
cmack` is now known as cmack
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
jonatack has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
jonatack has joined #commonlisp
attila_lendvai_ has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
eprapancha has left #commonlisp [#commonlisp]
reb has quit [Remote host closed the connection]
reb has joined #commonlisp
mishoo has joined #commonlisp
d4ryus has quit [Quit: WeeChat 4.2.2]
gdr3941 has joined #commonlisp
gdr3941 has quit [Client Quit]
rogersm has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
reb has quit [Remote host closed the connection]
reb has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
mgl_ has quit [Ping timeout: 252 seconds]
liminality has joined #commonlisp
rkazak has joined #commonlisp
reb has quit [Remote host closed the connection]
reb has joined #commonlisp
reb has quit [Remote host closed the connection]
reb has joined #commonlisp
liminality has quit [Ping timeout: 252 seconds]
liminality has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
attila_lendvai_ has quit [Ping timeout: 260 seconds]
attila_lendvai_ has joined #commonlisp
xaltsc has quit [Quit: WeeChat 4.4.3]
JuanDaugherty has joined #commonlisp
cow_2001 has quit [Quit: ✡]
zenmov has quit [Ping timeout: 245 seconds]
zenmov has joined #commonlisp
livoreno has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
rkazak has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 244 seconds]
CrashTestDummy has joined #commonlisp
CrashTestDummy has quit [Read error: Connection reset by peer]
Lord_of_Life_ is now known as Lord_of_Life
xaltsc has joined #commonlisp
cryptk has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
screwlisp has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AstraUnderscore has joined #commonlisp
AetherWind has quit [Quit: leaving]
AstraUnderscore has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rkazak has joined #commonlisp
JuanDaugherty has joined #commonlisp
overclucker has quit [Read error: Connection reset by peer]
overclucker_ has joined #commonlisp
d4ryus has joined #commonlisp
rogersm has quit [Quit: Leaving...]
kevingal has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 260 seconds]
zwr has quit [Read error: Connection reset by peer]
wacki has joined #commonlisp
akoana has joined #commonlisp
zwr has joined #commonlisp
<shawnw> Anyone know of a library that provides a form of do that lets you capture multiple values in the initial assignment and update expressions?
Everything has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
yitzi has joined #commonlisp
kadir has joined #commonlisp
wacki has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
yitzi has quit [Remote host closed the connection]
wacki has joined #commonlisp
kevingal has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba` has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
<shawnw> I now have a macro with do* like semantics using sequential calls to multiple-value-setq that will get the job done, but I'd prefer do-style semantics for this thing.
<aeth> have you considered macroexpanding DO to see how it works?
Posterdati has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
<aeth> looks like it uses PSETQ in SBCL
<aeth> as opposed to SETQ for DO*
Posterdati has joined #commonlisp
<aeth> you can probably use PSETF on VALUES for a similar effect
<shawnw> Unfortunately there's no multiple-value-psetq to make it trivial.
<aeth> ,(let ((x 42) (y 43) (z 44)) (psetf (values x y) (values (1+ x) (1+ y)) z (1+ z)) (values x y z))
<ixelp> => 43; 44; 45
<aeth> so in this example (only making sense as a macroexpansion) x and y are treated as one values pair while z is treated as a single value, but both can be incremented via PSETF
<aeth> this should be able to continue arbitrarily to e.g. (psetf (values x y) (foo x y) (values z w) (bar z w) ...)
vardhan__ has joined #commonlisp
vardhan_ has quit [Ping timeout: 244 seconds]
<shawnw> hmm. That might be workable.
JuanDaugherty has joined #commonlisp
dino_tutter has joined #commonlisp
rkazak has joined #commonlisp
akoana has quit [Quit: leaving]
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Perflosopher has joined #commonlisp
<shawnw> Yeah, that seems to work.
amb007 has quit [Ping timeout: 252 seconds]
<shawnw> and now off for lunch
JuanDaugherty has quit [Quit: JuanDaugherty]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
mishoo has quit [Ping timeout: 244 seconds]
cage has quit [Quit: rcirc on GNU Emacs 29.4]
kadir has quit [Quit: good night]
rkazak has joined #commonlisp
attila_lendvai_ has quit [Ping timeout: 265 seconds]
amb007 has quit [Ping timeout: 252 seconds]
liminality has quit [Ping timeout: 252 seconds]
screwlisp has quit [Ping timeout: 244 seconds]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
wacki has joined #commonlisp
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pixel_Outlaw has joined #commonlisp
pve has quit [Quit: leaving]
gooba` has quit [Remote host closed the connection]
gooba has joined #commonlisp
rkazak has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
dino_tutter has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]