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/>
rkazak has joined #commonlisp
ecraven has joined #commonlisp
livoreno has quit [Quit: Connection closed for inactivity]
rkazak has quit [Ping timeout: 265 seconds]
istewart has joined #commonlisp
phantomics has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
mange has joined #commonlisp
livoreno has joined #commonlisp
notzmv has joined #commonlisp
Guest0 has joined #commonlisp
dra has quit [Ping timeout: 248 seconds]
phantomics has joined #commonlisp
rkazak has quit [Ping timeout: 244 seconds]
Guest0 has quit [Quit: Client closed]
notzmv has quit [Ping timeout: 260 seconds]
Ruby has quit [Quit: ZNC - https://znc.in]
admich1 has quit [Ping timeout: 245 seconds]
random-nick has quit [Ping timeout: 248 seconds]
Ruby has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 252 seconds]
brokkoli_origin has joined #commonlisp
wbooze has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
jeffrey has joined #commonlisp
wbooze has joined #commonlisp
wbooze has quit [Remote host closed the connection]
admich1 has joined #commonlisp
wbooze has joined #commonlisp
rolling-lambda_ has joined #commonlisp
rolling-lambda has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 268 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
Lycurgus has joined #commonlisp
rkazak has joined #commonlisp
notzmv has joined #commonlisp
notzmv has quit [Ping timeout: 245 seconds]
jeffrey has quit [Quit: jeffrey]
rkazak has quit [Ping timeout: 252 seconds]
notzmv has joined #commonlisp
wbooze has quit [Read error: Connection reset by peer]
wbooze has joined #commonlisp
rkazak has joined #commonlisp
wbooze is now known as inline
inline_ has joined #commonlisp
inline is now known as wbooze
inline_ is now known as inline
King_julian has quit [Ping timeout: 268 seconds]
King_julian has joined #commonlisp
notzmv has quit [Ping timeout: 276 seconds]
notzmv has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
decweb has quit [Quit: Konversation terminated!]
notzmv has quit [Ping timeout: 276 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
gorignak has quit [Quit: quit]
poselyqualityles has joined #commonlisp
rkazak has joined #commonlisp
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
rkazak has quit [Ping timeout: 252 seconds]
livoreno has quit [Quit: Connection closed for inactivity]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
admich1 has quit [Ping timeout: 276 seconds]
admich1 has joined #commonlisp
veqq has quit [Remote host closed the connection]
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
rkazak has joined #commonlisp
admich1 has quit [Ping timeout: 276 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
rainthree has joined #commonlisp
ewig has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
veqq has joined #commonlisp
rainthree has quit [Quit: Leaving]
alXsei has joined #commonlisp
alXseii has joined #commonlisp
alXseii has quit [Remote host closed the connection]
alXsei has quit [Remote host closed the connection]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 268 seconds]
istewart has quit [Quit: Konversation terminated!]
rkazak has joined #commonlisp
edgar-rft` has joined #commonlisp
pve has joined #commonlisp
edgar-rft has quit [Ping timeout: 272 seconds]
kenran has joined #commonlisp
kenran has quit [Remote host closed the connection]
BierLiebHaber has joined #commonlisp
ingeniot has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
veqq has quit [Remote host closed the connection]
veqq has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
ingeniot has quit [Ping timeout: 272 seconds]
chomwitt has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
by9042 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
leeb has joined #commonlisp
leeb_ has quit [Ping timeout: 248 seconds]
treflip has joined #commonlisp
treflip has quit [Read error: Connection reset by peer]
varjag has joined #commonlisp
treflip has joined #commonlisp
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
X-Scale has joined #commonlisp
manwithluck has quit [Ping timeout: 245 seconds]
manwithluck has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
lusciouslover has quit [Read error: Connection reset by peer]
lusciouslover has joined #commonlisp
flip214 has quit [Ping timeout: 252 seconds]
flip214 has joined #commonlisp
treflip` has joined #commonlisp
treflip has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
bpanthi977 has joined #commonlisp
chkhd has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
King_julian has quit [Ping timeout: 244 seconds]
rkazak has quit [Ping timeout: 252 seconds]
decweb has joined #commonlisp
rkazak has joined #commonlisp
treflip` has quit [Ping timeout: 260 seconds]
by9042 has quit [Quit: Konversation terminated!]
poselyqualityles has quit [Ping timeout: 244 seconds]
random-nick has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
Lord_of_Life has quit [Ping timeout: 276 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
cage has joined #commonlisp
rkazak has joined #commonlisp
Lycurgus has joined #commonlisp
Guest94 has joined #commonlisp
Guest94 has quit [Client Quit]
sonny has joined #commonlisp
TactfulCitrus has joined #commonlisp
bpanthi977 has joined #commonlisp
donlcn has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 260 seconds]
parjanya has joined #commonlisp
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
atgreen has quit [Quit: Connection closed for inactivity]
msv has quit [Remote host closed the connection]
msv has joined #commonlisp
cage has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
cercopith has quit [Remote host closed the connection]
cercopith has joined #commonlisp
sonny has left #commonlisp [#commonlisp]
rkazak has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
attila_lendvai has joined #commonlisp
apac has joined #commonlisp
mauricioc has joined #commonlisp
admich1 has quit [Ping timeout: 248 seconds]
admich1 has joined #commonlisp
toadlicker has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 276 seconds]
toadlicker has quit [Remote host closed the connection]
toadlicker has joined #commonlisp
stanrifkin has joined #commonlisp
rkazak has joined #commonlisp
chkhd has quit [Quit: ZZZzzz…]
mauricioc has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 248 seconds]
Everything has quit [Quit: leaving]
voidness has joined #commonlisp
mange has quit [Quit: Zzz...]
voidness has quit [Changing host]
voidness has joined #commonlisp
rendar has joined #commonlisp
rkazak has joined #commonlisp
<beach> Is VALUES the only operator that can produce multiple values directly? By "directly" I mean that I exclude operators that produce multiple values only because the corresponding form contains a sub-form that produces multiple values, like PROGN or MULTIPLE-VALUE-PROG1.
<gilberth> Curious question. VALUES is not a special operator. Otherwise VALUES-LIST comes to mind, but that's a function just like VALUES.
<beach> I never said the operator had to be special.
<beach> Yes, VALUES-LIST would work, but it can be defined as (apply #'values <the-list>).
apac has quit [Ping timeout: 276 seconds]
<gilberth> How about (defun values (&rest values) (values-list values))?
<beach> How about it?
<gilberth> You said "but it can be defined as ..". I pointed out that VALUES can be defined in term of VALUES-LIST and you could consider the latter as being more primitive. If you wish. One of the many instances where one thing can be defined in terms of another and you can pick which one you consider as given.
<beach> I am willing to use either one, or both as candidates for what I am looking for. Are there any others?
<semz> Arguably, FLOOR satisfies the definition. ,(floor 3 2) has no subforms that produce multiple values.
<ixelp> (floor 3 2) => 1; 1
<gilberth> I can't think of any other which would let you produce multiple values at will.
<semz> so I think the definition needs some tuning
<beach> semz: Yes, I see your point.
<beach> I'll work on tuning the definition.
<beach> Clearly, any function call might produce multiple values, because a function can be defined to call VALUES as its last form.
attila_lendvai_ is now known as attila_lendvai
<gilberth> Let me try to rephrase. Suppose you take away VALUES and VALUES-LIST, I cannot think of how to write a function FOO that behaves just like VALUES.
<beach> Yes, that seems to be one way to phrase it.
<jackdaniel> if you hint at the context of tgis deliberation it may be helpful. i.e caller often ignores all but the first value
<jackdaniel> and that's sometimes an optimization opportunity depending on a runtime
<beach> Was that for me? I think I'll follow the advice by semz first. It is a bit tricky to give a description of the context at this point.
<jackdaniel> yes, that was for you
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
apac has joined #commonlisp
random-nick has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 276 seconds]
<beach> It might be enough to say that multiple values can be produced only as a result of a function call.
<beach> I'll work on that hypothesis.
<beach> In other words, there is no special operator or standard macro that produces multiple values in any way other than by calling a function.
<beach> I am not saying that as a fact, but as a hypothesis that I will check.
Lord_of_Life has quit [Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine]
random-nick has joined #commonlisp
X-Scale has quit [Ping timeout: 260 seconds]
<jackdaniel> multiple-value-prog1 is another one
<beach> No, it returns the values that its first form returns.
<jackdaniel> maybe it does not produce itself, but it must stash and pop them
Lord_of_Life has joined #commonlisp
<gilberth> beach: IGNORE-ERRORS is a macro and produces multiple values.
<beach> jackdaniel: Sure, that's a different issue.
<jackdaniel> in other words it manipulates values
<beach> gilberth: I'll check that. Thanks!
<jackdaniel> that's why I say that without context it is rather vague
donlcn has quit [Ping timeout: 265 seconds]
<beach> gilberth: Wouldn't IGNORE-ERRORS ultimately have to expand to a combination of special operators and function calls?
<beach> *special forms
<gilberth> beach: Sure.
<beach> gilberth: That's good enough for me.
<beach> Thanks to everyone for the feedback.
<gilberth> And there's SETF. But just as IGNORE-ERRORS can can work without anything behind your back. Just like IGNORE-ERRORS.
<beach> Yes, I am investigating SETF in particular.
<gilberth> On that note, I always find it a bit curious that MULTIPLE-VALUE-BIND is not a special operator but MULTIPLE-VALUE-PROG1 is. Why? I mean given MULTIPLE-VALUE-CALL one can implement MULTIPLE-VALUE-PROG1 too.
<beach> Yes, some of those choices seem arbitrary.
<gilberth> Indeed. I mean recognizing and optimizing (multiple-value-call (lambda (a b c &rest ignore) ...) ...) isn't entirely trivial.
apac has quit [Ping timeout: 268 seconds]
<beach> I agree.
<beach> How would you implement MULTIPLE-VALUE-PROG1 using MULTIPLE-VALUE-CALL? Perhaps I could figure it out if I thought about it for a while, but this is the end of the day and I am getting tired.
<gilberth> In fact CCL can't do that. But the compiler knows about multiple-value-bind. I noticed that when I tested my macro expander. I ran code through it before compiling and compared the resulting assembly.
<gilberth> ,(defmacro mv1 (first &rest more) `(multiple-value-call #'(lambda (&rest q) (progn ,@more) (values-list q)) ,first)) ,(mv1 (values (print 1) (print 2)) (print 3))
<ixelp> (defmacro mv1 (first &rest more) `(multiple-value-call #'(lambda (&rest q) (progn ,@more) (values-list q)) ,first)) => MV1, further (mv1 (values (print 1) (print 2)) (print 3)) ↩ 1 ↩ 2 ↩ 3 => 1; 2
rkazak has joined #commonlisp
<beach> Oh, using a list. Sure.
apac has joined #commonlisp
jospf has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<beach> I think some choices of special operators were made where they thought it would be hard to optimize otherwise. Of course, stuff like that changes over time.
jospf has joined #commonlisp
<gilberth> Yes. And perhaps also a bit about tradition or existing systems. E.g. given BLOCK there's no reason that CATCH needs to be a special operator.
<beach> Indeed.
flip214 has quit [Ping timeout: 248 seconds]
apac has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
flip214 has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
<jackdaniel> block/return-from have more imformation lnown at compile time than catch/throw
<jackdaniel> information* while the latter values may be computed at runtime
bpanthi977 has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
voidness has quit [Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.1)]
X-Scale has joined #commonlisp
Oddity has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
triffid has quit [Remote host closed the connection]
Guest60 has joined #commonlisp
Guest60 is now known as rpg
rpg is now known as NotThatRpg
admich1 has quit [Ping timeout: 260 seconds]
triffid has joined #commonlisp
admich1 has joined #commonlisp
inline has quit [Quit: Leaving]
rkazak has quit [Ping timeout: 260 seconds]
by9042 has joined #commonlisp
donlcn has joined #commonlisp
sata has joined #commonlisp
triffid has quit [Ping timeout: 244 seconds]
triffid has joined #commonlisp
yazz has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
phil_bb has joined #commonlisp
admich1 has quit [Ping timeout: 276 seconds]
<yacin> if i've made an issue to add a package to quicklisp and it got skipped with the build attempt, does that mean i did something wrong? i've noticed it wasn't the only one that appeared to be skipped (getting the canbuild/cantbuild label) but i did everything the docs suggested to do
rkazak has quit [Ping timeout: 268 seconds]
NotThatRpg has quit [Ping timeout: 252 seconds]
phil_bb has quit [Remote host closed the connection]
admich1 has joined #commonlisp
svm has joined #commonlisp
lcn_2 has joined #commonlisp
Alfr has quit [Killed (copper.libera.chat (Nickname regained by services))]
slyrus_ has joined #commonlisp
Alfr has joined #commonlisp
gooba` has joined #commonlisp
kyoji_ has joined #commonlisp
kaskal- has joined #commonlisp
copec_ has joined #commonlisp
m5zs7k_ has joined #commonlisp
Spawns has joined #commonlisp
divya- has joined #commonlisp
brokkoli_originl has joined #commonlisp
donlcn has quit [*.net *.split]
bpanthi977 has quit [*.net *.split]
by9042 has quit [*.net *.split]
msv has quit [*.net *.split]
parjanya has quit [*.net *.split]
lusciouslover has quit [*.net *.split]
manwithluck has quit [*.net *.split]
brokkoli_origin has quit [*.net *.split]
phantomics has quit [*.net *.split]
szkl has quit [*.net *.split]
Posterdati has quit [*.net *.split]
robin has quit [*.net *.split]
gooba has quit [*.net *.split]
m5zs7k has quit [*.net *.split]
slyrus has quit [*.net *.split]
olivial has quit [*.net *.split]
scymtym has quit [*.net *.split]
gnoo has quit [*.net *.split]
copec has quit [*.net *.split]
beach has quit [*.net *.split]
Spawns_Carpeting has quit [*.net *.split]
kaskal has quit [*.net *.split]
kyoji has quit [*.net *.split]
Bubblegumdrop has quit [*.net *.split]
divya has quit [*.net *.split]
copec_ is now known as copec
manwithluck has joined #commonlisp
scymtym has joined #commonlisp
m5zs7k_ is now known as m5zs7k
ewig has quit [Remote host closed the connection]
Posterdati has joined #commonlisp
phil_bb has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
X-Scale has quit [Ping timeout: 260 seconds]
shka has joined #commonlisp
pranav has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
theBlackDragon has quit [Ping timeout: 245 seconds]
theBlackDragon has joined #commonlisp
sata has quit [Ping timeout: 272 seconds]
Oddity has joined #commonlisp
TactfulCitrus has quit [Ping timeout: 265 seconds]
toadlicker has quit [Read error: Connection reset by peer]
toadlicker has joined #commonlisp
NotThatRpg has joined #commonlisp
szkl has joined #commonlisp
bpanthi977 has joined #commonlisp
lusciouslover has joined #commonlisp
phantomics has joined #commonlisp
robin has joined #commonlisp
olivial has joined #commonlisp
gnoo has joined #commonlisp
beach has joined #commonlisp
Bubblegumdrop has joined #commonlisp
robin has quit [Max SendQ exceeded]
gnoo has quit [Max SendQ exceeded]
robin has joined #commonlisp
gnoo has joined #commonlisp
NotThatRpg has quit [Client Quit]
Spawns is now known as Spawns_Carpeting
szkl has quit [Ping timeout: 260 seconds]
NotThatRpg has joined #commonlisp
szkl has joined #commonlisp
rkazak has quit [Ping timeout: 244 seconds]
Oddity has quit [Remote host closed the connection]
NotThatRpg has quit [Ping timeout: 248 seconds]
admich1 has quit [Ping timeout: 276 seconds]
phantomics_ has joined #commonlisp
bpanthi977 has quit [*.net *.split]
lusciouslover has quit [*.net *.split]
phantomics has quit [*.net *.split]
olivial has quit [*.net *.split]
beach has quit [*.net *.split]
Bubblegumdrop has quit [*.net *.split]
beach has joined #commonlisp
lusciouslover has joined #commonlisp
bpanthi977 has joined #commonlisp
olivial has joined #commonlisp
Bubblegumdrop has joined #commonlisp
admich1 has joined #commonlisp
cmack has joined #commonlisp
apac has joined #commonlisp
rkazak has joined #commonlisp
pve has quit [Quit: leaving]
lcn_2 has quit [Ping timeout: 276 seconds]
poselyqualityles has joined #commonlisp
Lycurgus has joined #commonlisp
donlcn has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
<jackdaniel> yacin: see what is the build problem, I think that there are some logs in ql for that
X-Scale has joined #commonlisp
poselyqualityles has quit [Ping timeout: 276 seconds]
svm is now known as msv
uhuh has joined #commonlisp
uhuh has joined #commonlisp
rkazak has joined #commonlisp
uhuh has quit [Read error: Connection reset by peer]
uhuh has joined #commonlisp
uhuh has quit [Changing host]
uhuh has joined #commonlisp
Gleefre has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
msv has quit [Remote host closed the connection]
msv has joined #commonlisp
msv has quit [Remote host closed the connection]
msv has joined #commonlisp
<yacin> ah, it doesn't have any build problems, at least that has been reported. but other issues added after mine _do_ have the can/cantbuild report
<yacin> mine just doesn't have anything
mala has quit [Read error: Connection reset by peer]
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
rkazak has joined #commonlisp
attila_lendvai has quit [Ping timeout: 276 seconds]
eriedaberrie has joined #commonlisp
apac has quit [Quit: Konversation terminated!]
chomwitt has quit [Ping timeout: 272 seconds]
mala has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
Gleefre has quit [Ping timeout: 272 seconds]
<phil_bb> I can't seem to find any examples of macros that build defclass forms based on trees... is that a thing that already exists anywhere?
ello- has quit [Read error: Connection reset by peer]
ello_ has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 268 seconds]
eriedaberrie has quit [Remote host closed the connection]
eriedaberrie has joined #commonlisp
admich1 has quit [Remote host closed the connection]
rkazak has joined #commonlisp
admich1 has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
donlcn has quit [Quit: Leaving]
uhuh has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
eriedaberrie has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
eriedaberrie has joined #commonlisp
rkazak has quit [Ping timeout: 268 seconds]
eriedaberrie has quit [Quit: Using Circe, the loveliest of all IRC clients]
stanrifkin has quit [Quit: Leaving]
rkazak has joined #commonlisp
dra has quit [Ping timeout: 248 seconds]
admich1 has quit [Ping timeout: 265 seconds]
admich1 has joined #commonlisp
arbn`` has quit [Read error: No route to host]