2 ms·
This is the TXR Lisp interactive listener of TXR 249. Quit with :quit or Ctrl-D on an empty line. Ctrl-X ? for cheatsheet. Poke a few holes in TXR with a fo
by kazinator 6y ago
This is the TXR Lisp interactive listener of TXR 249.
Quit with :quit or Ctrl-D on an empty line. Ctrl-X ? for cheatsheet.
Poke a few holes in TXR with a fork before heating in the microwave.
1> [mapcar succ "abc"]
"bcd"
2> (car "abc")
#\a
3> (cdr "abc")
"bc"
4> (cadr "abc")
#\b
5> (cddr "abc")
"c"
6> (cdddr "abc")
nil
7> (rplaca (copy "abc") #\x)
"xbc"
8> (rplacd (copy "abc") "yz")
"ayz"
9> (ldiff "abcd" "cd")
"ab"