00:03
akoana has quit [Quit: leaving]
00:05
mmontone has quit [Ping timeout: 240 seconds]
00:26
mala has quit [Ping timeout: 272 seconds]
00:28
beach` has joined #commonlisp
00:28
notzmv has joined #commonlisp
00:30
mala has joined #commonlisp
00:32
beach has quit [Ping timeout: 252 seconds]
00:33
robin_ has joined #commonlisp
00:33
makomo has quit [Ping timeout: 252 seconds]
00:35
robin has quit [Ping timeout: 252 seconds]
00:49
bjorkint0sh has quit [Remote host closed the connection]
00:50
bjorkint0sh has joined #commonlisp
01:02
_whitelogger has joined #commonlisp
01:06
Oladon has joined #commonlisp
01:08
mala has quit [Ping timeout: 252 seconds]
01:09
mmontone has joined #commonlisp
01:28
mala has joined #commonlisp
01:32
mmontone has quit [Ping timeout: 240 seconds]
01:47
notzmv has quit [Remote host closed the connection]
02:02
admich1 has quit [Ping timeout: 248 seconds]
02:04
mange has joined #commonlisp
02:07
admich1 has joined #commonlisp
02:11
random-nick has quit [Ping timeout: 244 seconds]
02:58
brokkoli_originl has quit [Ping timeout: 268 seconds]
02:59
brokkoli_originl has joined #commonlisp
03:15
markb1 has quit [Ping timeout: 268 seconds]
03:25
bjorkint0sh has quit [Remote host closed the connection]
03:25
bjorkint0sh has joined #commonlisp
03:28
markb1 has joined #commonlisp
03:58
bjorkint0sh has quit [Remote host closed the connection]
03:58
beach` is now known as beach
03:59
bjorkint0sh has joined #commonlisp
04:01
Guest24 has joined #commonlisp
04:08
Oladon has quit [Quit: Leaving.]
04:10
Guest24 has quit [Ping timeout: 240 seconds]
04:20
Lord_of_Life has quit [Quit: Laa shay'a waqi'un moutlaq bale kouloun moumkine]
04:21
Lord_of_Life has joined #commonlisp
04:23
JuanDaugherty has quit [Ping timeout: 252 seconds]
04:34
admich1 has quit [Read error: Connection reset by peer]
04:34
admich1 has joined #commonlisp
04:50
rtypo has quit [Ping timeout: 248 seconds]
04:51
Thermoriax has quit [Ping timeout: 276 seconds]
04:56
bjorkint0sh has quit [Remote host closed the connection]
04:56
Lord_of_Life has quit [Ping timeout: 252 seconds]
04:56
bjorkint0sh has joined #commonlisp
04:56
Lord_of_Life has joined #commonlisp
05:01
Thermoriax has joined #commonlisp
05:02
decweb has quit [Quit: Konversation terminated!]
05:05
chomwitt has joined #commonlisp
05:22
edgar-rft` has joined #commonlisp
05:26
edgar-rft has quit [Ping timeout: 245 seconds]
05:41
notzmv has joined #commonlisp
05:46
rgherdt has quit [Quit: ERC 5.6.0.30.1 (IRC client for GNU Emacs 30.1)]
05:55
pve has joined #commonlisp
05:57
rgherdt has joined #commonlisp
06:04
tjbw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
06:05
tjbw has joined #commonlisp
06:12
notzmv has quit [Read error: Connection reset by peer]
06:34
istewart has quit [Quit: Konversation terminated!]
06:35
donlcn has joined #commonlisp
06:43
garlic0x1 has quit [Quit: Ping timeout (120 seconds)]
06:43
garlic0x1 has joined #commonlisp
06:50
zxcvz has joined #commonlisp
06:51
admich1 has quit [Ping timeout: 245 seconds]
06:52
admich1 has joined #commonlisp
07:01
mgl has joined #commonlisp
07:13
donlcn has quit [Ping timeout: 272 seconds]
07:16
g-gundam has quit [Ping timeout: 248 seconds]
07:37
GalaxyNova has quit [Ping timeout: 245 seconds]
07:39
mange has quit [Quit: Quittin' time!]
07:55
King_julian has quit [Read error: Connection reset by peer]
07:56
apac has joined #commonlisp
08:00
King_julian has joined #commonlisp
08:12
shka has joined #commonlisp
08:15
GalaxyNova has joined #commonlisp
08:20
GalaxyNova has quit [Ping timeout: 252 seconds]
08:21
shka has quit [Remote host closed the connection]
08:24
shka has joined #commonlisp
08:27
ingeniot has joined #commonlisp
08:31
leeb has quit [Ping timeout: 276 seconds]
08:31
leeb_ has joined #commonlisp
09:08
chomwitt has quit [Ping timeout: 272 seconds]
09:11
makomo has joined #commonlisp
09:33
kurfen has quit [Ping timeout: 276 seconds]
09:36
JuanDaugherty has joined #commonlisp
09:40
kurfen has joined #commonlisp
09:42
RDMengineer has quit [Ping timeout: 245 seconds]
09:45
RDMengineer has joined #commonlisp
09:48
RDMengineer7 has joined #commonlisp
09:48
ebrasca has joined #commonlisp
09:49
yitzi has joined #commonlisp
09:49
RDMengineer has quit [Ping timeout: 245 seconds]
09:49
RDMengineer7 is now known as RDMengineer
10:07
JuanDaugherty is now known as ColinRobinson
10:16
Oddity has joined #commonlisp
10:23
svm has joined #commonlisp
10:24
svm has quit [Remote host closed the connection]
10:24
svm has joined #commonlisp
10:24
ColinRobinson has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
10:25
msv has quit [Ping timeout: 268 seconds]
10:25
svm is now known as msv
10:38
decweb has joined #commonlisp
10:46
chomwitt has joined #commonlisp
10:48
admich1 has quit [Ping timeout: 260 seconds]
10:48
admich1 has joined #commonlisp
11:00
admich1 has quit [Read error: Connection reset by peer]
11:00
admich1 has joined #commonlisp
11:04
attila_lendvai has joined #commonlisp
11:14
tjbw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:20
tjbw has joined #commonlisp
11:22
admich1 has quit [Ping timeout: 260 seconds]
11:22
Everything has joined #commonlisp
11:23
admich1 has joined #commonlisp
11:26
admich1 has quit [Read error: Connection reset by peer]
11:26
admich1 has joined #commonlisp
11:26
random-nick has joined #commonlisp
11:32
tjbw has quit [Ping timeout: 260 seconds]
11:32
admich1 has quit [Ping timeout: 245 seconds]
11:34
admich1 has joined #commonlisp
11:39
ebrasca has quit [Remote host closed the connection]
11:50
zxcvz has quit [Quit: zxcvz]
11:59
zmyrgel has joined #commonlisp
12:01
ingeniot has quit [Ping timeout: 276 seconds]
12:09
apac has quit [Ping timeout: 260 seconds]
12:20
cdegroot has joined #commonlisp
12:23
ingeniot has joined #commonlisp
12:29
cross_ has quit [Remote host closed the connection]
12:32
zmyrgel has quit [Remote host closed the connection]
12:33
mmontone has joined #commonlisp
12:36
Oddity has quit [Read error: Connection reset by peer]
12:40
Oddity has joined #commonlisp
12:40
brainfunnel has quit [Remote host closed the connection]
12:44
ebrasca has joined #commonlisp
12:46
apac has joined #commonlisp
12:53
bjorkint0sh has quit [Ping timeout: 260 seconds]
12:55
bjorkint0sh has joined #commonlisp
12:57
g-gundam has joined #commonlisp
12:58
g-gundam has quit [Changing host]
12:58
g-gundam has joined #commonlisp
13:01
attila_lendvai has quit [Ping timeout: 260 seconds]
13:05
rgherdt has quit [Ping timeout: 276 seconds]
13:05
TactfulCitrus has joined #commonlisp
13:05
random-nick has quit [Quit: quit]
13:07
Everything has quit [Quit: leaving]
13:10
random-nick has joined #commonlisp
13:11
rtypo has joined #commonlisp
13:20
admich1 has quit [Ping timeout: 252 seconds]
13:20
admich1 has joined #commonlisp
13:26
zxcvz has joined #commonlisp
13:51
chomwitt has quit [Ping timeout: 265 seconds]
13:54
scymtym has quit [Read error: Connection reset by peer]
13:55
scymtym has joined #commonlisp
13:57
Oddity has quit [Read error: Connection reset by peer]
13:59
apac has quit [Ping timeout: 252 seconds]
13:59
mmontone has quit [Ping timeout: 240 seconds]
14:00
<
jackdaniel >
d/win 3
14:01
Oddity has joined #commonlisp
14:07
ingeniot has quit [Ping timeout: 260 seconds]
14:45
Oddity has quit [Remote host closed the connection]
14:57
zxcvz has quit [Remote host closed the connection]
15:08
markb1 has quit [Ping timeout: 248 seconds]
15:08
kdlv has joined #commonlisp
15:09
wbooze has quit [Quit: Leaving]
15:20
markb1 has joined #commonlisp
15:39
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
15:39
notzmv has joined #commonlisp
15:41
zxcvz has joined #commonlisp
15:45
notzmv has quit [Read error: Connection reset by peer]
15:48
King_julian has quit [Ping timeout: 260 seconds]
15:50
King_julian has joined #commonlisp
15:52
ingeniot has joined #commonlisp
15:55
ingeniot1 has joined #commonlisp
15:56
TactfulCitrus has quit [Ping timeout: 248 seconds]
15:57
ingeniot has quit [Ping timeout: 252 seconds]
15:57
ingeniot1 is now known as ingeniot
16:08
GalaxyNova has joined #commonlisp
16:10
bpanthi977 has quit [Ping timeout: 260 seconds]
16:14
yitzi has quit [Ping timeout: 244 seconds]
16:17
kevingal has joined #commonlisp
16:31
bpanthi977 has joined #commonlisp
16:32
bpanthi977 has quit [Client Quit]
16:32
bpanthi977 has joined #commonlisp
16:36
ingeniot has quit [Ping timeout: 268 seconds]
16:43
reb has quit [Ping timeout: 252 seconds]
16:43
reb has joined #commonlisp
16:46
bpanthi977 has quit [Remote host closed the connection]
16:46
bpanthi977 has joined #commonlisp
16:55
CrashTestDummy has joined #commonlisp
16:55
CrashTestDummy has quit [Read error: Connection reset by peer]
16:56
bpanthi977 has quit [Ping timeout: 248 seconds]
16:58
wbooze has joined #commonlisp
17:04
zxcvz has quit [Quit: zxcvz]
17:05
svm has joined #commonlisp
17:07
cow_2001 has quit [Quit: ⛧]
17:07
msv has quit [Ping timeout: 260 seconds]
17:09
cow_2001 has joined #commonlisp
17:12
mgl has joined #commonlisp
17:20
JuanDaugherty has joined #commonlisp
17:20
admich1 has quit [Ping timeout: 260 seconds]
17:20
admich1 has joined #commonlisp
17:22
bpanthi977 has joined #commonlisp
17:22
triffid has quit [Remote host closed the connection]
17:23
triffid has joined #commonlisp
17:24
usagi_mimi has joined #commonlisp
17:26
triffid has quit [Remote host closed the connection]
17:29
cercopith_ has joined #commonlisp
17:32
bpanthi977 has quit [Ping timeout: 244 seconds]
17:36
rendar has quit [Ping timeout: 268 seconds]
17:44
rgherdt has joined #commonlisp
17:45
bpanthi977 has joined #commonlisp
17:55
bpanthi977 has quit [Ping timeout: 252 seconds]
17:57
kevingal has quit [Ping timeout: 272 seconds]
17:59
rendar has joined #commonlisp
18:09
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
18:14
attila_lendvai has joined #commonlisp
18:15
wbooze has quit [Quit: Leaving]
18:16
bpanthi977 has joined #commonlisp
18:18
yitzi has joined #commonlisp
18:18
notzmv has joined #commonlisp
18:24
chomwitt has joined #commonlisp
18:25
bpanthi977 has quit [Ping timeout: 244 seconds]
18:25
notzmv has quit [Ping timeout: 276 seconds]
18:27
Alfr has quit [Killed (erbium.libera.chat (Nickname regained by services))]
18:27
Alfr has joined #commonlisp
18:28
triffid has joined #commonlisp
18:38
mgl has joined #commonlisp
18:43
notzmv has joined #commonlisp
18:46
ebrasca has quit [Ping timeout: 252 seconds]
18:46
usagi_mimi has quit [Ping timeout: 245 seconds]
19:00
Oddity has joined #commonlisp
19:01
notzmv has quit [Ping timeout: 248 seconds]
19:09
ingeniot has joined #commonlisp
19:13
wbooze has joined #commonlisp
19:18
bpanthi977 has joined #commonlisp
19:24
bpanthi977 has quit [Ping timeout: 252 seconds]
19:32
akoana has joined #commonlisp
19:32
Ruby has joined #commonlisp
19:32
wbooze has quit [Quit: Leaving]
19:37
akoana has quit [Quit: leaving]
19:45
Guest65 has joined #commonlisp
19:48
wbooze has joined #commonlisp
19:50
Guest65 has quit [Quit: Client closed]
19:50
Guest4 has joined #commonlisp
19:51
Guest4 has left #commonlisp [#commonlisp]
19:59
reb has quit [Remote host closed the connection]
19:59
wbooze has quit [Quit: Leaving]
20:16
shka has quit [Quit: Konversation terminated!]
20:16
bpanthi977 has joined #commonlisp
20:18
ingeniot has quit [Ping timeout: 276 seconds]
20:23
JuanDaugherty has joined #commonlisp
20:48
yazz has quit [Ping timeout: 244 seconds]
20:54
kevingal has joined #commonlisp
21:08
latchflip has joined #commonlisp
21:09
<
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?
21:10
notzmv has joined #commonlisp
21:13
chomwitt has quit [Ping timeout: 245 seconds]
21:17
bpanthi977 has quit [Ping timeout: 276 seconds]
21:17
reb has joined #commonlisp
21:20
usagi_mimi has joined #commonlisp
21:22
admich1 has quit [Ping timeout: 265 seconds]
21:22
JuanDaugherty has quit [Quit: praxis.meansofproduction.biz (juan@acm.org)]
21:25
<
mgl >
COPY-TREE recurses into both the CAR and CDR, while COPY-LIST just into the CDR.
21:25
<
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
21:26
<
veqq >
it shares the deeper children with the original, instead of copying them too
21:33
<
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?
21:33
<
latchflip >
Sorry i'm just wrestling with it
21:34
<
latchflip >
mgl: veqq: thank you both
21:36
<
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
21:37
<
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.
21:39
usagi_mimi has quit [Ping timeout: 248 seconds]
21:39
admich1 has joined #commonlisp
21:39
<
random-nick >
both are shallow copies
21:40
<
random-nick >
they only copy the cons structure
21:42
<
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
21:44
stanrifkin has joined #commonlisp
21:47
<
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)).
21:47
<
Alfr >
latchflip, ^
21:49
<
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
21:50
<
Alfr >
random-nick, more interestingly: You even checked for that.
21:51
bpanthi977 has joined #commonlisp
21:56
bpanthi977 has quit [Ping timeout: 268 seconds]
22:06
pve has quit [Quit: leaving]
22:07
gooba has joined #commonlisp
22:16
<
latchflip >
aeth: I think COPY-TREE actually returns new cons structures for internal elements; COPY-LIST doesn't
22:22
<
latchflip >
so (setf lst '((a b) (c d)),
22:23
<
latchflip >
@bar(input):button1
22:23
<
latchflip >
I don't know why it did that
22:24
dra has joined #commonlisp
22:24
dra has quit [Changing host]
22:24
dra has joined #commonlisp
22:31
<
latchflip >
ALFR: aeth: mgl: veqq: thank you all.
22:41
rgherdt has quit [Remote host closed the connection]
23:28
notzmv has quit [Remote host closed the connection]
23:39
svm is now known as msv
23:40
admich1 has quit [Remote host closed the connection]
23:40
admich1 has joined #commonlisp
23:57
stanrifkin has quit [Quit: Leaving]