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/>
varjag has joined #commonlisp
varjag has quit [Ping timeout: 276 seconds]
varjag has joined #commonlisp
varjag has quit [Ping timeout: 268 seconds]
donleo has quit [Ping timeout: 268 seconds]
Oladon has joined #commonlisp
varjag has joined #commonlisp
varjag has quit [Ping timeout: 256 seconds]
varjag has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
varjag has quit [Ping timeout: 246 seconds]
varjag has joined #commonlisp
cranej has joined #commonlisp
varjag has quit [Ping timeout: 252 seconds]
dinomug has joined #commonlisp
varjag has joined #commonlisp
varjag has quit [Ping timeout: 260 seconds]
varjag has joined #commonlisp
varjag has quit [Ping timeout: 245 seconds]
dnhester26 has quit [Remote host closed the connection]
avocadoist has quit [Ping timeout: 255 seconds]
Gleefre has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
yitzi has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
Oladon has quit [Quit: Leaving.]
JamesF has quit [Ping timeout: 256 seconds]
Fare has quit [Ping timeout: 264 seconds]
edr has quit [Quit: Leaving]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #commonlisp
Oladon has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
akoana has quit [Quit: leaving]
Pixel_Outlaw has quit [Quit: Leaving]
Fare has joined #commonlisp
decweb has quit [Ping timeout: 252 seconds]
Fare has quit [Ping timeout: 276 seconds]
igemnace has quit [Read error: Connection reset by peer]
Fare has joined #commonlisp
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
<beach> Do we know the definition of the phrase "it is an error" as used in the dictionary entry for FUNCTION?
<beach> Apparently, it does not mean that an error is signaled, because that page simultaneously says that "it is an error" and "An implementation may choose not to signal this error...".
zetef has joined #commonlisp
zetef has quit [Remote host closed the connection]
zetef has joined #commonlisp
Fare has quit [Ping timeout: 264 seconds]
<beach> ::clhs function
<ixelp> CLHS: Meanings for FUNCTION
villageidiot has joined #commonlisp
igemnace has joined #commonlisp
rendar has quit [Ping timeout: 276 seconds]
pranavats has left #commonlisp [Disconnected: Hibernating too long]
bilegeek has quit [Quit: Leaving]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.1.2]
pranavats has joined #commonlisp
pve has joined #commonlisp
shka has joined #commonlisp
ym has quit [Ping timeout: 255 seconds]
mgl has joined #commonlisp
Inline has quit [Ping timeout: 246 seconds]
zetef has quit [Ping timeout: 264 seconds]
scymtym has quit [Remote host closed the connection]
White_Flame has quit [Read error: Connection reset by peer]
scymtym has joined #commonlisp
White_Flame has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
pranavats has joined #commonlisp
Cymew has joined #commonlisp
rgherdt has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
mgl has quit [Ping timeout: 268 seconds]
ym has joined #commonlisp
rtypo has joined #commonlisp
zetef has joined #commonlisp
pranavats has joined #commonlisp
dinomug has quit [Remote host closed the connection]
<mfiano> error n. 1. (only in the phrase ``is an error'') a situation in which the semantics of a program are not specified, and in which the consequences are undefined.
<beach> Oh, thank you!!!
bendersteed has joined #commonlisp
<mfiano> Admittedly, it took me a minute as well. I am so used to defaulting to 1.4.2
<beach> Yeah.
pranavats has left #commonlisp [Error from remote client]
zetef_ has joined #commonlisp
pranavats has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
zetef has quit [Ping timeout: 256 seconds]
Oladon has quit [Quit: Leaving.]
danza has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
traidare has joined #commonlisp
pranavats has joined #commonlisp
Inline has joined #commonlisp
_cymew_ has joined #commonlisp
dajole has quit [Quit: Connection closed for inactivity]
<beach> In case you wonder what I am doing, I am slowly adding more information to the pages created by dnhester26, and improving the examples. In the case of AND and OR, I added a paragraph explaining why they can't be used with APPLY, and what to do instead if you feel that need. For FUNCTION, I added a paragraph explaining what "it is an error" means.
<beach> I also fix incorrect markup when appropriate.
<beach> I would encourage #commonlisp participants to take a page and edit it in similar ways.
pranavats has left #commonlisp [Error from remote client]
<beach> For example, you can start with the pages that says "Exceptional situations: None." and add a paragraph that explains the consequences of not respecting the type restrictions in the Syntax section.
<beach> Like for AREF: "The consequences are undefined if the first argument to AREF is an object other than an array."
<beach> Stuff like that.
<beach> s/the pages that/a page that/
danza has quit [Ping timeout: 268 seconds]
mgl has joined #commonlisp
_cymew_ has quit [Quit: Konversation terminated!]
dcb has joined #commonlisp
anticrisis has quit [Read error: Connection reset by peer]
<beach> Maybe we should add a section "Undefined or unspecified situations" to several pages?
<beach> Those sections could then also be a good source of information for WSCL.
donleo has joined #commonlisp
pawa2 has quit [Quit: leaving]
<beach> Another thing people can do is to replace top-level SETQ in examples by DEFPARAMETER, and other uses of SETQ by SETF.
_cymew_ has joined #commonlisp
<beach> If I am the only one doing this, and I do one page per day, it is going to take me years to finish.
danse-nr3 has joined #commonlisp
kevingal has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.1.2]
attila_lendvai has quit [Ping timeout: 256 seconds]
pranavats has joined #commonlisp
random-nick has joined #commonlisp
zetef_ has quit [Ping timeout: 260 seconds]
agm has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
<agm> every time that the clhs describes an argument to a macro as (for example) "a symbol; evaluated" it really means "an object that must evaluate to a symbol", right? that's obvious enough, but I would prefer a clearer wording
<beach> I believe that is always what it means, yes.
<beach> agm: I can't tell whether you are suggesting editing pages like that so that the wording is clearer, or whether this is just a question of yours.
<beach> Oh, and I would use "a form that must evaluate to a symbol" rather than "an object..."
<agm> well, that could be an improvement. in current wording, a newbie might think that type checking is applied to the form, not to the result of the form
<beach> I agree.
<mfiano> I'm sorry, but where in the spec is this wording? Because I interpret "a symbol; evaluated" as "an object that must be a symbol, that evaluates in the current lexical environment to an object of any type"
<beach> Wouldn't that be a strange restriction?
Lord_of_Life_ has joined #commonlisp
<mfiano> I am not sure. I just saw this quote and have no context.
Lord_of_Life has quit [Ping timeout: 245 seconds]
zetef has joined #commonlisp
<beach> But your remarks is more evidence that phrases like that could be made more clear.
<beach> *remark
Lord_of_Life_ is now known as Lord_of_Life
<mfiano> A quick look only found some "form; evaluated"
<beach> I don't remember seeing that particular phrase, but I do remember having doubts about the meaning of similar ones.
<beach> It is always in the context of a macro, I think.
<mfiano> with-input-from-string: "a form; evaluated to produce a string", with-compilation-unit: "a generalized boolean; evaluated", with-slots: "a form; evaluted to produce instance"
<agm> today I met this wording in DO-SYMBOLS. it says that package must be "a package designator; evaluated". the stricter meaning would mean you can't pass any form that produces a string or a package object, like ,(car (list-all-packages))
<ixelp> (car (list-all-packages)) => #<Package "COMMON-LISP-USER">
<beach> Yes, that could definitely be improved.
<beach> I would have written "a form that must evaluate to a package designator".
<mfiano> I see
<beach> In fact, I would probably do that for all macros and special operators when an argument is to be evaluated.
<beach> "a form that..."
agm has quit [Ping timeout: 276 seconds]
<beach> Maybe "a form that evaluates to a package designator" rather than "... must evaluate...".
<beach> The wording in (say) WITH-HASH-TABLE-ITERATOR is better.
<beach> "a form, evaluated once, that should produce a hash table"
tok has joined #commonlisp
kevingal has quit [Ping timeout: 268 seconds]
kevingal has joined #commonlisp
varjag has joined #commonlisp
waleee has joined #commonlisp
zetef has quit [Ping timeout: 252 seconds]
msavoritias has joined #commonlisp
kevingal has quit [Ping timeout: 264 seconds]
kevingal has joined #commonlisp
green_ has quit [Ping timeout: 268 seconds]
avocadoist has joined #commonlisp
rainthree has joined #commonlisp
Cymew has quit [Remote host closed the connection]
Cymew has joined #commonlisp
decweb has joined #commonlisp
rendar has joined #commonlisp
rendar has quit [Changing host]
rendar has joined #commonlisp
rainthree has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
markb1 has quit [Ping timeout: 268 seconds]
pranavats has joined #commonlisp
Gleefre has quit [Ping timeout: 250 seconds]
prokhor has quit [Ping timeout: 264 seconds]
prokhor has joined #commonlisp
markb1 has joined #commonlisp
danse-nr3 has quit [Read error: Connection reset by peer]
yitzi has joined #commonlisp
prokhor has quit [Remote host closed the connection]
masinter has quit [Ping timeout: 245 seconds]
danse-nr3 has joined #commonlisp
donleo has quit [Ping timeout: 240 seconds]
traidare has quit [Ping timeout: 268 seconds]
jonatack has joined #commonlisp
abrantesasf has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
abrantesasf has quit [Remote host closed the connection]
abrantesasf has joined #commonlisp
rainthree has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
dcb has joined #commonlisp
tyson2 has joined #commonlisp
cranej has left #commonlisp [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
random-nick has quit [Ping timeout: 264 seconds]
rainthree3 has joined #commonlisp
rainthree has quit [Read error: Connection reset by peer]
edr has joined #commonlisp
zetef has joined #commonlisp
Gleefre has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
villageidiot has quit [Quit: Client closed]
igemnace has quit [Read error: Connection reset by peer]
abrantesasf has quit [Remote host closed the connection]
azimut has quit [Ping timeout: 240 seconds]
igemnace has joined #commonlisp
azimut has joined #commonlisp
green_ has joined #commonlisp
kevingal has quit [Ping timeout: 268 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Read error: Connection reset by peer]
gxt has quit [Remote host closed the connection]
traidare has joined #commonlisp
gxt has joined #commonlisp
danse-nr3 has quit [Ping timeout: 255 seconds]
prokhor has joined #commonlisp
danza has joined #commonlisp
danza has quit [Ping timeout: 256 seconds]
<younder> WITH-HASH-TABLE-ITERATOR hmm. The first thing I would do with such a name is abbreviate it. But the I also use vbind for multiple-value-bind. I believe Paul Graham's On Lisp has the macros needed to translate special forms.
<aeth> m-v-b is fine, m-v-c is a little more problematic with the verbosity
<aeth> the difference being that multiple-value-bind is mostly on its own line, while (multiple-value-call #'+ ...) is competing with (+ ...)
danse-nr3 has joined #commonlisp
bubblegum has joined #commonlisp
bubblegum has quit [Quit: Quit]
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
donleo has joined #commonlisp
Fare has joined #commonlisp
dinomug has joined #commonlisp
danse-nr3 has quit [Ping timeout: 245 seconds]
<lispmacs[work]> Hi, I'm trying to experiment with running common lisp in org code blocks
Cymew has quit [Ping timeout: 240 seconds]
<lispmacs[work]> I'm trying to specify the package as a header, but it doesn't seem to be working
<lispmacs[work]> so, I expect #+BEGIN_SRC lisp :package :h1500-screen
<lispmacs[work]> to cause the code to be executed in the h1500-screen package, but instead
<lispmacs[work]> it executes in the CL-USER package
zetef has quit [Remote host closed the connection]
mgl has quit [Ping timeout: 255 seconds]
yitzi has quit [Remote host closed the connection]
Pixel_Outlaw has joined #commonlisp
dcb has quit [Quit: MSN Messenger 4.1.2]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
JamesF has joined #commonlisp
zetef has joined #commonlisp
luis has joined #commonlisp
zetef has quit [Remote host closed the connection]
lispmacs[work] has quit [Remote host closed the connection]
Inline has quit [Ping timeout: 256 seconds]
tok has quit [Remote host closed the connection]
szkl has quit [Quit: Connection closed for inactivity]
Inline has joined #commonlisp
yitzi has joined #commonlisp
igemnace has quit [Remote host closed the connection]
rainthree3 has quit [Quit: Leaving]
bendersteed has quit [Quit: bendersteed]
son0p has quit [Ping timeout: 256 seconds]
cage has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
mgl has joined #commonlisp
danse-nr3 has joined #commonlisp
lispmacs[work] has joined #commonlisp
<lispmacs[work]> can I capture all standard output into a string? I see WITH-OUTPUT-TO-STRING but am not quite sure exactly how I want to use it
<lispmacs[work]> I woudl need to set *standard-output* temporarily...?
mgl has quit [Ping timeout: 276 seconds]
tyson2 has joined #commonlisp
<yitzi> You can do `(with-output-to-sting (*standard-output*) ...)`
azimut has quit [Ping timeout: 240 seconds]
rgherdt has quit [Read error: No route to host]
rgherdt_ has joined #commonlisp
youthpastor has joined #commonlisp
random-nick has joined #commonlisp
danse-nr3 has quit [Ping timeout: 240 seconds]
danza has joined #commonlisp
<skin> `*standard-output*` is a dynamic variable, so you can just `let` it.
<skin> ```
<skin> (with-output-to-string (captured-out)
<skin> (let ((*standard-output* captured-out))
<skin> ...
<skin> ))
<skin> ```
danse-nr3 has joined #commonlisp
danza has quit [Ping timeout: 252 seconds]
<yitzi> The let is not needed
<aeth> right... with-output-to-string (*standard-output*) still rebinds it
tyson2 has quit [Read error: Connection reset by peer]
lispmacs[work] has quit [Remote host closed the connection]
bjorkintosh has quit [Ping timeout: 268 seconds]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has quit [Changing host]
tyson2 has joined #commonlisp
attila_lendvai has joined #commonlisp
youthpastor has quit [Ping timeout: 260 seconds]
Reinhilde has quit [Remote host closed the connection]
gko has quit [Read error: Connection reset by peer]
|3b| has quit [Ping timeout: 260 seconds]
gko` has joined #commonlisp
|3b|` has joined #commonlisp
youthpastor has joined #commonlisp
<skin> cool
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
mgl has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
danse-nr3 has quit [Ping timeout: 264 seconds]
Ellenor has joined #commonlisp
monospod has joined #commonlisp
mgl has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
anticrisis has joined #commonlisp
monospod has quit [Quit: Konversation terminated!]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
rgherdt_ has quit [Ping timeout: 255 seconds]
dnhester26 has quit [Ping timeout: 252 seconds]
mariari has quit [Ping timeout: 256 seconds]
_cymew_ has quit [Ping timeout: 276 seconds]
Gleefre has quit [Remote host closed the connection]
msavoritias has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
dnhester26 has joined #commonlisp
pve has quit [Quit: leaving]
mariari has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Ellenor is now known as Reinhilde
mgl has joined #commonlisp
traidare has quit [Ping timeout: 245 seconds]
Oladon has joined #commonlisp
trocado has joined #commonlisp
yitzi has quit [Remote host closed the connection]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
tyson2 has joined #commonlisp
Eoco has quit [Quit: WeeChat 4.1.1]
Eoco has joined #commonlisp
green_ has quit [Ping timeout: 260 seconds]
asarch has joined #commonlisp
cage has quit [Remote host closed the connection]
tyson2 has quit [Read error: Connection reset by peer]
azimut has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
asarch has quit [Ping timeout: 260 seconds]
asarch has joined #commonlisp
tyson2 has joined #commonlisp
asarch has quit [Client Quit]
mgl has quit [Ping timeout: 260 seconds]
dinomug has quit [Remote host closed the connection]
rtypo has quit [Ping timeout: 256 seconds]
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
rgherdt has joined #commonlisp
shka has quit [Ping timeout: 256 seconds]
sebagutiem has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp