yitzi has quit [Remote host closed the connection]
char has quit [Ping timeout: 272 seconds]
lucasta has quit [Quit: Leaving]
istewart has joined #commonlisp
lagash has joined #commonlisp
X-Scale has quit [Quit: Client closed]
X-Scale has joined #commonlisp
Akbar-Birbal has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
NotThatRPG has joined #commonlisp
ryanbw has quit [Quit: I'll be back.]
ryanbw1 is now known as ryanbw
chrcav has quit [Quit: leaving]
jonatack has quit [Read error: Connection reset by peer]
chrcav has joined #commonlisp
jonatack has joined #commonlisp
char has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life_ is now known as Lord_of_Life
X-Scale has quit [Quit: Client closed]
Pixel_Outlaw has quit [Quit: Leaving]
decweb has quit [Ping timeout: 252 seconds]
john has quit [Read error: Connection reset by peer]
john has joined #commonlisp
char has quit [Remote host closed the connection]
wacki has joined #commonlisp
rtypo has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
jadzi has joined #commonlisp
ingeniot has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
neuroevolutus has joined #commonlisp
neuroevolutus has quit [Client Quit]
meaty has quit [Ping timeout: 260 seconds]
shawnw has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
thuna`` has joined #commonlisp
mgl__ has joined #commonlisp
shka has joined #commonlisp
amb007 has quit [Ping timeout: 245 seconds]
amb007 has joined #commonlisp
alternateved has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
pve has joined #commonlisp
semarie has quit [Quit: WeeChat 4.4.1]
semarie has joined #commonlisp
ingeniot has quit [Ping timeout: 256 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
alcor has joined #commonlisp
edgar-rft_ is now known as edgar-rft
shawnw has quit [Remote host closed the connection]
varjag has joined #commonlisp
rainthree has joined #commonlisp
ingeniot has joined #commonlisp
kurfen has quit [Ping timeout: 276 seconds]
kurfen has joined #commonlisp
JuanDaugherty has joined #commonlisp
ingeniot has quit [Quit: Client closed]
<varjag>
so what's up with quicklisp
<varjag>
the last release is from the last summer?
<jackdaniel>
xach reports bugs from time to time and it seems it is on the break of a new release, but it happened a few times since the last summer, so I don't know
<varjag>
right, just couldn't find anything 'official' on where we are with this
<jackdaniel>
I guess he for the time being does not have enough mental capacity to churn them month-by-month (and that was very impressive feat, given that he curated and tested libraries before each release)
ingeniot has joined #commonlisp
<varjag>
yes that's why ql isn't dumpster fire like pip
<varjag>
and i'm not even sure monthly releases are necessary, quarterly or tri-annual would be just fine imo
alternateved_ has joined #commonlisp
alternateved has quit [Remote host closed the connection]
alternateved_ is now known as alternateved
King_julian has joined #commonlisp
mwnaylor has quit [Ping timeout: 252 seconds]
casionaut has joined #commonlisp
random-nick has joined #commonlisp
King_julian has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
chkhd has joined #commonlisp
rainthree has quit [Ping timeout: 265 seconds]
King_julian has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
rogersm has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
ingeniot has quit [Ping timeout: 256 seconds]
ingeniot has joined #commonlisp
jonatack has joined #commonlisp
rainthree has joined #commonlisp
<yacin>
so i currently have a LOOP that's mainly to alter one or more values in the list. right now i just LOOP and collect all the existing values and the replacement if it matches. then i SETF the original list. is there a way i can do this in place to do less CONS'ing? something closer to PUSHNEW?
<yacin>
i could use PUSHNEW, but i need a way of knowing if the list was altered or not and would rather do that without checking the whole list again
<bike>
subst? or if you have a custom transformation, something like (loop with changedp = nil for sub on list for (elem) = sub when (should-change elem) do (setf (car sub) (change elem) changedp t) finally (return changedp))
<bike>
or just map-into/mapc. that would be easier
<yacin>
ah yeah, that loop looks like exactly what i want. thanks!
<yacin>
the more cons heavy version has good enough run-time, but i'm curious if i can eke out a bit more performance
chkhd has quit [Quit: ZZZzzz…]
<bike>
the map-into version would be (let ((changedp nil)) (map-into list (lambda (elem) (cond ((should-change elem) (change elem) (setf changedp t)) (t elem))) list) changedp)
<bike>
and as a bonus it works on sequences generally when you decide working on lists is probably too slow
chkhd has joined #commonlisp
gpiero_ has joined #commonlisp
edgar-rft_ has joined #commonlisp
gpiero has quit [Ping timeout: 245 seconds]
edgar-rft has quit [Ping timeout: 246 seconds]
<yacin>
nice bonus indeed. thanks bike !
<yacin>
hmm i only recently joined #clschool. would this have been a better question for that channel? or doesn't really matter?
<beach>
It would probably have been better there, but it is not terribly important.
<yacin>
got it
awlygj has joined #commonlisp
<Shinmera>
Writing up an article on the Switch port. Should be out tomorrow.
<buffet>
let's go
jonatack has quit [Ping timeout: 265 seconds]
jonatack has joined #commonlisp
decweb has joined #commonlisp
ingeniot has quit [Quit: Client closed]
lagash has quit [Ping timeout: 246 seconds]
john has quit [Read error: Connection reset by peer]
rainthree has quit [Ping timeout: 260 seconds]
john has joined #commonlisp
chrcav has quit [Quit: leaving]
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
<beach>
Shinmera: Will it be an ELS submission?
chrcav has joined #commonlisp
<Shinmera>
Possibly. For now it's just a blog post
<alcor>
Very cool, excited to see the progress.
rainthree has joined #commonlisp
chkhd is now known as chkhd`
chkhd` has quit [Quit: ZZZzzz…]
meaty has joined #commonlisp
semarie has quit [Quit: WeeChat 4.4.1]
semarie has joined #commonlisp
chkhd has joined #commonlisp
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
jadzi has quit [Ping timeout: 252 seconds]
ingeniot has joined #commonlisp
ingeniot has quit [Client Quit]
ingeniot has joined #commonlisp
thuna` has joined #commonlisp
King_julian has quit [Ping timeout: 244 seconds]
thuna`` has quit [Ping timeout: 276 seconds]
ingeniot has quit [Ping timeout: 256 seconds]
lucasta has joined #commonlisp
josrr has joined #commonlisp
ingeniot has joined #commonlisp
mgl__ has quit [Ping timeout: 260 seconds]
chkhd has quit [Quit: ZZZzzz…]
lucasta has quit [Quit: Leaving]
chkhd has joined #commonlisp
JuanDaugherty has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
awlygj has quit [Quit: leaving]
lagash has joined #commonlisp
q3cpma has joined #commonlisp
cmack has joined #commonlisp
chkhd has quit [Quit: ZZZzzz…]
<q3cpma>
Hello, anyone knows if getting these compilation warnings when trying to type the return of make-instance is normal? http://0x0.st/Xx44.png
<q3cpma>
Only when compiling then loading, just compile-file is fine.
<q3cpma>
I mean, I guess that generic functions' return can't be typed since it can change, but...
<beach>
I am not sure why you would want to proclaim the ftype here.
<q3cpma>
Well, the function would be a "make-C" constructor, in fact.
<q3cpma>
Makes sense to says that make-C gives a C, no?
<beach>
It doesn't make much sense to me to have such proclamations just for kicks.
<q3cpma>
Well, you may be right, but that's not really the point. Even if I (the C (nth-value 0)) it, there's still a strange compile/load deviation that I'd like to understand.
<beach>
Fair enough.
<q3cpma>
In general, I like to use these declaration as "compiler-assisting doc"
<q3cpma>
Anyway, I replaced all of these with t to quiet them, but I'm still perplexed =)
<bike>
i don't know why sbcl is being weird about this, but you can silence the warning (and use a better type declaration) if you (declaim (ftype (function () (values C &rest nil)) fun)) instead.
<bike>
or (values C &optional)
<q3cpma>
Huh, indeed, thanks!
<bike>
on my sbcl with your code i get a bit lengthier of a message implying this
<q3cpma>
The original message saying (VALUES &OPTIONAL COMMON-LISP-USER::C &REST T) made me believe it considered empty values possible too
<bike>
note: Type assertion too complex to check: (VALUES &OPTIONAL COMMON-LISP-USER::C &REST T). It allows an unknown number of values, consider using (VALUES &OPTIONAL COMMON-LISP-USER::C).
<bike>
yeah, that's how values types works
<bike>
(the foo ...) actually means (the (values &optional foo &rest t) ...) for the most part
<bike>
i.e. the form is allowed to return some other number of values
<q3cpma>
I'm lost, I thought the types (values C &optional) and (values &optional C) were different!
<bike>
yeah they are. gimme a sec tho
awlygj has joined #commonlisp
lucasta has joined #commonlisp
<bike>
so, sbcl's interpretation of the standard is that when there's a lambda list keyword, it means to be more strict
<q3cpma>
Huh
<reb>
Is the following true: (the foo ...) means "..." returns a foo and possibly additional values, while (the (values foo &optional) ...) means "..." returns exactly one value, which is a FOO.
<bike>
so (values c &optional) means exactly one value, and it's a C. (values &optional C) means either zero values, or one value that's a C. But C or (values C) means any number of values but if there's a first value it's C
<bike>
personally I think this interpretation is a little dumb, since (values A) and (values A &optional) being different is pretty weird and different from lambda lists, but it's more the fault of the standard for being self contradictory
<bike>
reb: in sbcl, yes, except that (the foo ...) can also mean "..." returns no values
<q3cpma>
I see! The CLHS page on values' TS isn't that clear to me
<q3cpma>
Thanks for having done my legwork ;)
<bike>
yeah, the problem is that the page for the VALUES type specifier lays out a strict interpretation, but every use of type specifiers goes through THE, and THE explicitly is not as strict
<bike>
so, self contradiction
<reb>
bike: Thanks! That last bit about (the foo ...) surprises me. Hmm.
<q3cpma>
I see, is that "but every use of type specifiers goes through THE" specified or an impl detail?
<bike>
specifically, for THE, "It is permissible for form to yield a different number of values than are specified by value-type, provided that the values for which types are declared are indeed of those types. Missing values are treated as nil for the purposes of checking their types."
<bike>
q3cpma: specified. e.g. what your ftype proclamation means is that anywhere (foo) appears, it is treated as (the C (foo))
<q3cpma>
I see, then you're right, another contradiction in the spec
<bike>
that in particular is on the clhs page for the FUNCTION type
<reb>
Hmm, SBCL generates a warning for (the fixnum (values))
<bike>
right, i was imprecise
<bike>
that comes from the "Missing values are treated as nil" bit. my bad
<bike>
but that means that (the list (values)) is ok.
<reb>
Yes, that does not generate a warning!
casionaut has quit [Quit: gotta bail]
<bike>
shit's pretty confusing.
<q3cpma>
That's the word =D
X-Scale has joined #commonlisp
bollu6 has joined #commonlisp
st_aldini1 has joined #commonlisp
Shinmera- has joined #commonlisp
teesquare_ has joined #commonlisp
aeth_ has joined #commonlisp
NotThatRPG_ has joined #commonlisp
even4voi1 has joined #commonlisp
dustinm`_ has joined #commonlisp
NotThatRPG__ has joined #commonlisp
Akbar-Birbal has left #commonlisp [#commonlisp]
NotThatRPG has quit [*.net *.split]
yottabyte has quit [*.net *.split]
pranav has quit [*.net *.split]
dlowe has quit [*.net *.split]
pestctrl has quit [*.net *.split]
st_aldini has quit [*.net *.split]
manwithluck has quit [*.net *.split]
Posterdati has quit [*.net *.split]
dustinm` has quit [*.net *.split]
even4void has quit [*.net *.split]
aeth has quit [*.net *.split]
teesquare has quit [*.net *.split]
bollu has quit [*.net *.split]
Shinmera has quit [*.net *.split]
st_aldini1 is now known as st_aldini
bollu6 is now known as bollu
Shinmera- is now known as Shinmera
NotThatRPG_ has quit [Ping timeout: 248 seconds]
alcor has quit [Remote host closed the connection]
NotThatRPG__ has quit [Ping timeout: 251 seconds]
alcor has joined #commonlisp
Posterdati has joined #commonlisp
mgl__ has joined #commonlisp
yitzi has joined #commonlisp
q3cpma has quit [Quit: nyaa~]
NotThatRPG has joined #commonlisp
X-Scale has quit [Ping timeout: 256 seconds]
NotThatRPG has quit [Ping timeout: 276 seconds]
meaty has quit [Quit: touch grass]
lucasta has quit [Remote host closed the connection]
thuna` has quit [Ping timeout: 252 seconds]
NotThatRPG has joined #commonlisp
john has quit [Read error: Connection reset by peer]
john has joined #commonlisp
yottabyte has joined #commonlisp
pestctrl has joined #commonlisp
edgar-rft_ is now known as edgar-rft
rainthree has quit [Quit: Leaving]
skin has joined #commonlisp
pranav has joined #commonlisp
ingeniot has quit [Ping timeout: 256 seconds]
awlygj has quit [Ping timeout: 252 seconds]
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
shawnw has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
meaty has joined #commonlisp
meaty has quit [Changing host]
meaty has joined #commonlisp
NotThatRPG has joined #commonlisp
yitzi has quit [Remote host closed the connection]
awlygj has joined #commonlisp
josrr has quit [Remote host closed the connection]
manwithluck has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NotThatRPG has joined #commonlisp
AetherWind has joined #commonlisp
awlygj has quit [Ping timeout: 260 seconds]
kevingal has joined #commonlisp
yitzi has joined #commonlisp
dlowe has joined #commonlisp
meaty has quit [Quit: touch grass]
meaty has joined #commonlisp
meaty has quit [Changing host]
meaty has joined #commonlisp
meaty has quit [Client Quit]
AetherWind has quit [Remote host closed the connection]