Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
akkartik
6y ago
0 comments
Save
Share
Would be the result of
(where (cadr x))
still be
((a b c) d)
? Is
where
basically tracking the most recent traversal?
0 comments
2 comments · 1 top-level
top
newest
oldest
pg
6y ago
· 1 in thread
(where (cadr x)) would be ((b c) a).
where tells you what to set, and setting the cadr of (a b c) means setting the car of (b c).
akkartik
OP
6y ago
Ah, now it's crystal clear.
j
/
k
navigate · click thread line to collapse