Scheme Tricks

拷贝 list

要拷贝一个 list 不需要自己写一个函数。由于 append 总是复制前 面的参数,所以把一个 '() append 到 list 就相当于复制了 list.

(append l '())