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/>
random-nick has quit [Ping timeout: 260 seconds]
vjalmr has joined #commonlisp
vjalmr has quit [Client Quit]
habamax has joined #commonlisp
amb007 has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
Lord_of_Life_ has joined #commonlisp
dtman34 has quit [Ping timeout: 255 seconds]
Lord_of_Life_ is now known as Lord_of_Life
alphacentauri has quit [Quit: WeeChat 4.0.5]
bilegeek_ has joined #commonlisp
bilegeek has quit [Ping timeout: 272 seconds]
tyson2 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
dcb has quit [Quit: MSN Messenger 4.0.5]
tyson2 has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
tyson2` has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2` has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
azimut has quit [Ping timeout: 252 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 258 seconds]
ronald__ has joined #commonlisp
ronald_ has quit [Ping timeout: 258 seconds]
waleee has quit [Ping timeout: 258 seconds]
ronald has quit [Ping timeout: 260 seconds]
ronald has joined #commonlisp
ronald_ has joined #commonlisp
bilegeek_ has quit [Remote host closed the connection]
ronald__ has quit [Ping timeout: 255 seconds]
bilegeek_ has joined #commonlisp
alphacentauri has joined #commonlisp
karlosz has quit [Quit: karlosz]
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
alexsotodev has joined #commonlisp
pranavats has joined #commonlisp
triffid has quit [Remote host closed the connection]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
akyv13 has joined #commonlisp
seok has quit [Quit: Client closed]
seok has joined #commonlisp
dtman34 has joined #commonlisp
azimut has joined #commonlisp
bilegeek_ has quit [Quit: Leaving]
rgherdt has joined #commonlisp
akyv13 has quit [Read error: Connection reset by peer]
liminality has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 272 seconds]
msavoritias has joined #commonlisp
cosmeve has joined #commonlisp
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
Pirx has joined #commonlisp
rgherdt_ is now known as rgherdt
donleo has joined #commonlisp
Cymew has joined #commonlisp
X-Scale has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
waleee has joined #commonlisp
mgl has joined #commonlisp
waleee has quit [Ping timeout: 258 seconds]
limiduality has joined #commonlisp
liminality has quit [Ping timeout: 258 seconds]
liminality has joined #commonlisp
limiduality has quit [Ping timeout: 240 seconds]
dtman34 has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 245 seconds]
limiduality has joined #commonlisp
dtman34 has joined #commonlisp
liminality has quit [Ping timeout: 255 seconds]
anticrisis has quit [Read error: Connection reset by peer]
X-Scale has quit [Ping timeout: 245 seconds]
cage has joined #commonlisp
ronald has quit [Ping timeout: 245 seconds]
ronald_ has quit [Ping timeout: 255 seconds]
dino_tutter has joined #commonlisp
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
alphacentauri has quit [Quit: WeeChat 4.0.5]
random-nick has joined #commonlisp
alphacentauri has joined #commonlisp
Posterdati has quit [Read error: Connection reset by peer]
X-Scale has joined #commonlisp
alphacentauri has quit [Quit: WeeChat 4.0.5]
Posterdati has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
alphacentauri has joined #commonlisp
Cymew has joined #commonlisp
Posterdati has quit [Ping timeout: 255 seconds]
McParen has joined #commonlisp
Cymew has quit [Ping timeout: 258 seconds]
Posterdati has joined #commonlisp
Cymew has joined #commonlisp
limitreyarchity has joined #commonlisp
LispTyro has quit [Quit: leaving]
vjalmr has joined #commonlisp
limiduality has quit [Ping timeout: 260 seconds]
cosmeve has quit [Quit: Textual IRC Client: www.textualapp.com]
karlosz has joined #commonlisp
mgl has quit [Ping timeout: 240 seconds]
limitreyarchity has quit [Ping timeout: 240 seconds]
seok has quit [Quit: Client closed]
Cymew has quit [Ping timeout: 255 seconds]
pranavats has quit [Ping timeout: 245 seconds]
Cymew has joined #commonlisp
X-Scale has quit [Quit: Client closed]
akyv13 has joined #commonlisp
alphacentauri has quit [Ping timeout: 255 seconds]
rgherdt_ has joined #commonlisp
akyv13 has quit [Read error: Connection reset by peer]
rgherdt has quit [Ping timeout: 245 seconds]
tyson2 has joined #commonlisp
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
pve has joined #commonlisp
Lycurgus has joined #commonlisp
Lycurgus has quit [Client Quit]
flip214 has quit [Ping timeout: 260 seconds]
flip214 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
alphacentauri has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
jonatack has joined #commonlisp
random-nick has quit [Quit: quit]
random-nick has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
jon_atack has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 248 seconds]
avocadoist has quit [Remote host closed the connection]
yitzi has joined #commonlisp
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
bjorkintosh has quit [Ping timeout: 248 seconds]
bjorkintosh has joined #commonlisp
dino_tutter has quit [Ping timeout: 252 seconds]
shka has joined #commonlisp
alphacentauri has quit [Quit: WeeChat 4.0.5]
Perflosopher has joined #commonlisp
alphacentauri has joined #commonlisp
Cymew has joined #commonlisp
son0p has quit [Quit: Bye]
X-Scale has joined #commonlisp
son0p has joined #commonlisp
bike has quit [Ping timeout: 258 seconds]
cage has quit [Remote host closed the connection]
jonatack has quit [Read error: Connection reset by peer]
jon_atack has joined #commonlisp
ronald has joined #commonlisp
ronald has quit [Read error: Connection reset by peer]
ronald has joined #commonlisp
ronald_ has joined #commonlisp
mgl has joined #commonlisp
rgherdt_ is now known as rgherdt
tyson2 has joined #commonlisp
dom2 has joined #commonlisp
dcb has joined #commonlisp
chiselfuse has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
rgherdt has quit [Ping timeout: 264 seconds]
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
liminality has joined #commonlisp
Lord_Nightmare has joined #commonlisp
bike has joined #commonlisp
dino_tutter has joined #commonlisp
attila_lendvai has joined #commonlisp
dom2 has quit [Ping timeout: 255 seconds]
msavoritias has quit [Remote host closed the connection]
mgl has quit [Ping timeout: 252 seconds]
rgherdt has joined #commonlisp
mgl has joined #commonlisp
alphacentauri has quit [Quit: WeeChat 4.0.5]
waleee has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
shka has joined #commonlisp
alphacentauri has joined #commonlisp
anticrisis has joined #commonlisp
zaymington has quit [Remote host closed the connection]
zaymington has joined #commonlisp
cage has joined #commonlisp
X-Scale has quit [Ping timeout: 245 seconds]
mgl has quit [Ping timeout: 255 seconds]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #commonlisp
amb007 has quit [Ping timeout: 245 seconds]
amb007 has joined #commonlisp
ldb has joined #commonlisp
tyson2 has joined #commonlisp
<ldb> Seems there are not much programming languages there provide control over IEEE 754 rounding mode control
<ldb> while the floating point API across different Common Lisp are not very consistent, at least most implementations provides it
dom2 has joined #commonlisp
<ldb> https://arxiv.org/pdf/2003.03831.pdf I think they did not know CCL very well as it does provide rounding-mode via ccl:set-fpu-mode
Cymew has quit [Ping timeout: 255 seconds]
dino_tutter has quit [Quit: Leaving]
jrm has quit [Quit: ciao]
Cymew has joined #commonlisp
jrm has joined #commonlisp
jrm has quit [Client Quit]
jrm has joined #commonlisp
mgl has joined #commonlisp
Gleefre has joined #commonlisp
Cymew has quit [Ping timeout: 245 seconds]
dino_tutter has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
tyson2 has quit [Remote host closed the connection]
akoana has joined #commonlisp
alphacentauri has quit [Quit: WeeChat 4.0.5]
<Gleefre> Alexandria's PARSE-BODY signals an error when there are duplicate two documentations strings... Wouldn't it be better if that behaviour was configurable, or, at least, it was a continuable error?
<ldb> with CL condition system you can continua from any error youself
<Gleefre> Only from continuable errors, no?
<Gleefre> I can't say to alexandria's function that "it's fine, just go on parsing declarations"
jrm has quit [Quit: ciao]
<Gleefre> Is it an actual error to define a functions like that: (defun abc () "a" "b" "c") ? Seems like it probably is unspecified behaviour - from what I see SBCL gives a warning and CLISP signals an error, while other implementations I tested on [ cmucl, ccl, allegro, lispworks, ecl, clasp, abcl ] silently accept it.
<Gleefre> clhs 3.4.11 says "The consequences are unspecified if more than one such documentation string is present.", so indeed seems like that
<ldb> Gleefre: you get error because you specified :documentation t
jrm has joined #commonlisp
<Gleefre> Yes. I want to be able to parse declarations AND documentation, and not get an error when duplicate docstrings are used
<ldb> you can write a conditional handler do: if there is a error retry call alexandria:parse-body without :documentation t
<Gleefre> I mean, it will be just easier to write my own version of parse-body
<ldb> it is.
liminality has quit [Ping timeout: 258 seconds]
alphacentauri has joined #commonlisp
<Gleefre> But I wonder if filing a feature request to alexandria would be reasonable
somename has joined #commonlisp
<ldb> does not hurt to give it a try
cage has quit [Quit: rcirc on GNU Emacs 29.1]
greaser|q is now known as GreaseMonkey
<edgar-rft> if I'm not totally wrong then a string is a valid form, so in (defun abc () "a" "b" "c") "a" is the docstring and "b" and "c" are forms - evaluating "b" makes of course not much sense but I don't see any error in it.
mgl has quit [Ping timeout: 258 seconds]
somename has quit [Quit: Quit]
dom2 has quit [Ping timeout: 264 seconds]
<Gleefre> I opened an issue and described current behavior I am seeing in different implementations here: https://gitlab.common-lisp.net/alexandria/alexandria/-/issues/40
<ixelp> Feature request: PARSE-BODY configurable behaviour when duplicate doc strings occur (#40) · Issues · alexandria / alexan [...]
<Gleefre> So just CLISP signals an error, SBCL warns about it, and other implementations just use the first or the last string as doc-string.
<Gleefre> edgar-rft: Documentation strings are part of the differen function/macro definers, just like declarations and lambda-list
<Gleefre> So while having a duplicate documentation string is undefined behaviour, it can be seen as a syntax error
<Gleefre> *part of the different ... definers syntax
shka has quit [Ping timeout: 258 seconds]
<Gleefre> Interesting fact: if you want to have a function with empty body but with a documentation string you can just put (declare) after your doc string
<akoana> or use just nil instead of (declare)
<Gleefre> That wouldn't be an *empty* body anymore though.
<Gleefre> [ but of course the resulting behaviour would be the same ]
<akoana> it would more obviously express the programmer's intention, instead of declare nothing, return nil
<Gleefre> From a practical point of view - yes, that would be better than having an empty body.
<Gleefre> But I just love noticing funny/weird edge-cases :)
<akoana> heh
<Shinmera> ldb: Maybe you can be the one to implement https://github.com/Shinmera/float-features/issues/24
<ixelp> Floating point rounding modes · Issue #24 · Shinmera/float-features · GitHub
<akoana> Gleefre: besides, according to CLHS: "A declare expression ... can occur only at the beginning of the bodies of certain forms.." So with declare you already have a non-empty body anyway...
<akoana> ;)
Oladon has joined #commonlisp
lucasta has joined #commonlisp
pve has quit [Ping timeout: 255 seconds]
pve has joined #commonlisp
pve has quit [Ping timeout: 255 seconds]
rgherdt has quit [Quit: Leaving]
contrapunctus has quit [Ping timeout: 255 seconds]
contrapunctus has joined #commonlisp
tyson2 has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
dino_tutter has quit [Ping timeout: 258 seconds]
ldb has quit [Ping timeout: 260 seconds]
yitzi has quit [Remote host closed the connection]
akoana has quit [Quit: leaving]
alphacentauri has quit [Quit: WeeChat 4.0.5]
alphacentauri has joined #commonlisp
<Alfr> Gleefre, I don't think (defun abcd () "a" "b" "c" "d") is ambiguous; take "a" as doc string, eval and discard "b" and "c", and eval and return "d". Though (defun abcd () "a" "b" (declare ..) "c" "d") would be a problem.
<bike> yeah, that's the only valid parse. per 1.4.1.2.1 and the syntax descriptions of defun/whatever
lucasta has quit [Quit: Leaving]
Oladon has quit [Quit: Leaving.]
<bike> 3.4.11 is talking specifically about multiple docstrings before a declare like alfr said.
yitzi has joined #commonlisp
donleo has quit [Ping timeout: 255 seconds]
donleo has joined #commonlisp
attila_lendvai has quit [Ping timeout: 264 seconds]
flip214 has quit [Read error: Connection reset by peer]
flip214_ has joined #commonlisp
donleo has quit [Ping timeout: 260 seconds]
zaymington has quit [Ping timeout: 252 seconds]
habamax has joined #commonlisp
random-nick has quit [Ping timeout: 255 seconds]
ldb has joined #commonlisp