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/>
akoana has quit [Quit: leaving]
mmontone has quit [Ping timeout: 240 seconds]
mala has quit [Ping timeout: 272 seconds]
beach` has joined #commonlisp
notzmv has joined #commonlisp
mala has joined #commonlisp
beach has quit [Ping timeout: 252 seconds]
robin_ has joined #commonlisp
makomo has quit [Ping timeout: 252 seconds]
robin has quit [Ping timeout: 252 seconds]
bjorkint0sh has quit [Remote host closed the connection]
bjorkint0sh has joined #commonlisp
_whitelogger has joined #commonlisp
Oladon has joined #commonlisp
mala has quit [Ping timeout: 252 seconds]
mmontone has joined #commonlisp
mala has joined #commonlisp
mmontone has quit [Ping timeout: 240 seconds]
notzmv has quit [Remote host closed the connection]
admich1 has quit [Ping timeout: 248 seconds]
mange has joined #commonlisp
admich1 has joined #commonlisp
random-nick has quit [Ping timeout: 244 seconds]
brokkoli_originl has quit [Ping timeout: 268 seconds]
brokkoli_originl has joined #commonlisp
markb1 has quit [Ping timeout: 268 seconds]
bjorkint0sh has quit [Remote host closed the connection]
bjorkint0sh has joined #commonlisp
markb1 has joined #commonlisp
bjorkint0sh has quit [Remote host closed the connection]
beach` is now known as beach
bjorkint0sh has joined #commonlisp
Guest24 has joined #commonlisp
Oladon has quit [Quit: Leaving.]
Guest24 has quit [Ping timeout: 240 seconds]
Lord_of_Life has quit [Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine]
Lord_of_Life has joined #commonlisp
JuanDaugherty has quit [Ping timeout: 252 seconds]
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
rtypo has quit [Ping timeout: 248 seconds]
Thermoriax has quit [Ping timeout: 276 seconds]
bjorkint0sh has quit [Remote host closed the connection]
Lord_of_Life has quit [Ping timeout: 252 seconds]
bjorkint0sh has joined #commonlisp
Lord_of_Life has joined #commonlisp
Thermoriax has joined #commonlisp
decweb has quit [Quit: Konversation terminated!]
chomwitt has joined #commonlisp
edgar-rft` has joined #commonlisp
edgar-rft has quit [Ping timeout: 245 seconds]
notzmv has joined #commonlisp
rgherdt has quit [Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.1)]
pve has joined #commonlisp
rgherdt has joined #commonlisp
tjbw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tjbw has joined #commonlisp
notzmv has quit [Read error: Connection reset by peer]
istewart has quit [Quit: Konversation terminated!]
donlcn has joined #commonlisp
garlic0x1 has quit [Quit: Ping timeout (120 seconds)]
garlic0x1 has joined #commonlisp
zxcvz has joined #commonlisp
admich1 has quit [Ping timeout: 245 seconds]
admich1 has joined #commonlisp
mgl has joined #commonlisp
donlcn has quit [Ping timeout: 272 seconds]
g-gundam has quit [Ping timeout: 248 seconds]
GalaxyNova has quit [Ping timeout: 245 seconds]
mange has quit [Quit: Quittin' time!]
King_julian has quit [Read error: Connection reset by peer]
apac has joined #commonlisp
King_julian has joined #commonlisp
shka has joined #commonlisp
GalaxyNova has joined #commonlisp
GalaxyNova has quit [Ping timeout: 252 seconds]
shka has quit [Remote host closed the connection]
shka has joined #commonlisp
ingeniot has joined #commonlisp
leeb has quit [Ping timeout: 276 seconds]
leeb_ has joined #commonlisp
chomwitt has quit [Ping timeout: 272 seconds]
makomo has joined #commonlisp
kurfen has quit [Ping timeout: 276 seconds]
JuanDaugherty has joined #commonlisp
kurfen has joined #commonlisp
RDMengineer has quit [Ping timeout: 245 seconds]
RDMengineer has joined #commonlisp
RDMengineer7 has joined #commonlisp
ebrasca has joined #commonlisp
yitzi has joined #commonlisp
RDMengineer has quit [Ping timeout: 245 seconds]
RDMengineer7 is now known as RDMengineer
JuanDaugherty is now known as ColinRobinson
Oddity has joined #commonlisp
svm has joined #commonlisp
svm has quit [Remote host closed the connection]
svm has joined #commonlisp
ColinRobinson has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
msv has quit [Ping timeout: 268 seconds]
svm is now known as msv
decweb has joined #commonlisp
chomwitt has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
attila_lendvai has joined #commonlisp
tjbw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tjbw has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
Everything has joined #commonlisp
admich1 has joined #commonlisp
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
random-nick has joined #commonlisp
tjbw has quit [Ping timeout: 260 seconds]
admich1 has quit [Ping timeout: 245 seconds]
admich1 has joined #commonlisp
ebrasca has quit [Remote host closed the connection]
zxcvz has quit [Quit: zxcvz]
zmyrgel has joined #commonlisp
ingeniot has quit [Ping timeout: 276 seconds]
apac has quit [Ping timeout: 260 seconds]
cdegroot has joined #commonlisp
ingeniot has joined #commonlisp
cross_ has quit [Remote host closed the connection]
zmyrgel has quit [Remote host closed the connection]
mmontone has joined #commonlisp
Oddity has quit [Read error: Connection reset by peer]
Oddity has joined #commonlisp
brainfunnel has quit [Remote host closed the connection]
ebrasca has joined #commonlisp
apac has joined #commonlisp
bjorkint0sh has quit [Ping timeout: 260 seconds]
bjorkint0sh has joined #commonlisp
g-gundam has joined #commonlisp
g-gundam has quit [Changing host]
g-gundam has joined #commonlisp
attila_lendvai has quit [Ping timeout: 260 seconds]
rgherdt has quit [Ping timeout: 276 seconds]
TactfulCitrus has joined #commonlisp
random-nick has quit [Quit: quit]
Everything has quit [Quit: leaving]
random-nick has joined #commonlisp
rtypo has joined #commonlisp
admich1 has quit [Ping timeout: 252 seconds]
admich1 has joined #commonlisp
zxcvz has joined #commonlisp
chomwitt has quit [Ping timeout: 265 seconds]
scymtym has quit [Read error: Connection reset by peer]
scymtym has joined #commonlisp
Oddity has quit [Read error: Connection reset by peer]
apac has quit [Ping timeout: 252 seconds]
mmontone has quit [Ping timeout: 240 seconds]
<jackdaniel> d/win 3
Oddity has joined #commonlisp
ingeniot has quit [Ping timeout: 260 seconds]
Oddity has quit [Remote host closed the connection]
zxcvz has quit [Remote host closed the connection]
markb1 has quit [Ping timeout: 248 seconds]
kdlv has joined #commonlisp
wbooze has quit [Quit: Leaving]
mgl has quit []
markb1 has joined #commonlisp
kdlv has quit [Quit: The Lounge - https://thelounge.chat]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
notzmv has joined #commonlisp
zxcvz has joined #commonlisp
notzmv has quit [Read error: Connection reset by peer]
King_julian has quit [Ping timeout: 260 seconds]
King_julian has joined #commonlisp
ingeniot has joined #commonlisp
ingeniot1 has joined #commonlisp
TactfulCitrus has quit [Ping timeout: 248 seconds]
ingeniot has quit [Ping timeout: 252 seconds]
ingeniot1 is now known as ingeniot
GalaxyNova has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
yitzi has quit [Ping timeout: 244 seconds]
kevingal has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Client Quit]
bpanthi977 has joined #commonlisp
ingeniot has quit [Ping timeout: 268 seconds]
reb has quit [Ping timeout: 252 seconds]
reb has joined #commonlisp
bpanthi977 has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
CrashTestDummy has joined #commonlisp
CrashTestDummy has quit [Read error: Connection reset by peer]
bpanthi977 has quit [Ping timeout: 248 seconds]
wbooze has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
svm has joined #commonlisp
cow_2001 has quit [Quit: ⛧]
msv has quit [Ping timeout: 260 seconds]
cow_2001 has joined #commonlisp
mgl has joined #commonlisp
JuanDaugherty has joined #commonlisp
admich1 has quit [Ping timeout: 260 seconds]
admich1 has joined #commonlisp
bpanthi977 has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
usagi_mimi has joined #commonlisp
triffid has quit [Remote host closed the connection]
cercopith_ has joined #commonlisp
bpanthi977 has quit [Ping timeout: 244 seconds]
rendar has quit [Ping timeout: 268 seconds]
rgherdt has joined #commonlisp
bpanthi977 has joined #commonlisp
mgl has quit []
bpanthi977 has quit [Ping timeout: 252 seconds]
kevingal has quit [Ping timeout: 272 seconds]
rendar has joined #commonlisp
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
attila_lendvai has joined #commonlisp
wbooze has quit [Quit: Leaving]
bpanthi977 has joined #commonlisp
yitzi has joined #commonlisp
notzmv has joined #commonlisp
chomwitt has joined #commonlisp
bpanthi977 has quit [Ping timeout: 244 seconds]
notzmv has quit [Ping timeout: 276 seconds]
Alfr has quit [Killed (erbium.libera.chat (Nickname regained by services))]
Alfr has joined #commonlisp
triffid has joined #commonlisp
mgl has joined #commonlisp
notzmv has joined #commonlisp
ebrasca has quit [Ping timeout: 252 seconds]
usagi_mimi has quit [Ping timeout: 245 seconds]
Oddity has joined #commonlisp
notzmv has quit [Ping timeout: 248 seconds]
ingeniot has joined #commonlisp
wbooze has joined #commonlisp
bpanthi977 has joined #commonlisp
Ruby has quit [Quit: ZNC - https://znc.in]
bpanthi977 has quit [Ping timeout: 252 seconds]
akoana has joined #commonlisp
Ruby has joined #commonlisp
wbooze has quit [Quit: Leaving]
akoana has quit [Quit: leaving]
Guest65 has joined #commonlisp
wbooze has joined #commonlisp
Guest65 has quit [Quit: Client closed]
Guest4 has joined #commonlisp
Guest4 has left #commonlisp [#commonlisp]
reb has quit [Remote host closed the connection]
wbooze has quit [Quit: Leaving]
shka has quit [Quit: Konversation terminated!]
bpanthi977 has joined #commonlisp
ingeniot has quit [Ping timeout: 276 seconds]
JuanDaugherty has joined #commonlisp
yazz has quit [Ping timeout: 244 seconds]
kevingal has joined #commonlisp
latchflip has joined #commonlisp
<latchflip> Hi everyone - in ANSI Common Lisp (the book), it says "copy-tree copies both the car and the cdr of each cons, while copy-list copies only the cdr." Can someone help me grok that?
notzmv has joined #commonlisp
chomwitt has quit [Ping timeout: 245 seconds]
bpanthi977 has quit [Ping timeout: 276 seconds]
reb has joined #commonlisp
usagi_mimi has joined #commonlisp
admich1 has quit [Ping timeout: 265 seconds]
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
<mgl> COPY-TREE recurses into both the CAR and CDR, while COPY-LIST just into the CDR.
<veqq> latchflip:copy-list copies the top like ... imagine the tree, and just copy everything on the top areas, but not the leafs in the middle
<veqq> it shares the deeper children with the original, instead of copying them too
<latchflip> Okay so it's like COPY-LIST is a shallow copy that points to the same objects, COPY-TREE is more like a deep copy of both structure and cells? I guess I just don't understand "COPY-LIST copies only the CDR" - almost like that implies the CDR is the source of structure?
<latchflip> Sorry i'm just wrestling with it
<latchflip> mgl: veqq: thank you both
<veqq> latchflip: it's hard to explain with words. I suggest you make a tree and apply both to it. If I could draw a tree with paint and show you, i'd just circle the... "outside" but that's so vague in words, im not articulate
<Alfr> latchflip, well both only make copies of the cons structure, and in copy-list's case it simply takes whatever the car might be and recurses only on the cdr part.
usagi_mimi has quit [Ping timeout: 248 seconds]
admich1 has joined #commonlisp
<random-nick> both are shallow copies
<random-nick> they only copy the cons structure
<aeth> afaik, you can't have a deep copy because there's no generic COPY, but structs do have a non-generic (shallow?) COPY-FOO function automatically generated
stanrifkin has joined #commonlisp
<Alfr> They're also remarkably similar ... (defun my-copy-list (list) (if (consp list) (cons (car list) (my-copy-list (cdr list))) list)) and (defun my-copy-tree (list) (if (consp list) (cons (my-copy-tree (car list)) (my-copy-tree (cdr list))) list)).
<Alfr> latchflip, ^
<random-nick> Alfr: I wrote out implementations like that to show the difference but I didn't send them, and it's funny that they are character-by-character identical to what you sent
<Alfr> random-nick, more interestingly: You even checked for that.
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 268 seconds]
pve has quit [Quit: leaving]
gooba has joined #commonlisp
mgl has quit []
<latchflip> aeth: I think COPY-TREE actually returns new cons structures for internal elements; COPY-LIST doesn't
<latchflip> so (setf lst '((a b) (c d)),
<latchflip> @bar(input):button1
<latchflip> I don't know why it did that
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
<latchflip> ALFR: aeth: mgl: veqq: thank you all.
rgherdt has quit [Remote host closed the connection]
notzmv has quit [Remote host closed the connection]
svm is now known as msv
admich1 has quit [Remote host closed the connection]
admich1 has joined #commonlisp
stanrifkin has quit [Quit: Leaving]