Thanks Doug! git fsck appears to do exactly what I wanted. All praise to Torvalds and Git.
Abram's particular problem, I believe, was in copying multidimensional arrays. He ended up writing his own function to copy his Tron game board.
This seems to be a known "hole" in the Common Lisp spec.. e.g. a library called cl-utilities provides a function called COPY-ARRAY:
http://common-lisp.net/project/cl-utilities/doc/copy-array.html
The library bills itself as "things that everybody writes since they're not part of the official standard".
- vish
On Tue, Mar 9, 2010 at 6:13 PM, doug@hcsw.org wrote:
On Sat, Mar 06, 2010 at 07:14:00PM -0500 or thereabouts, Vishvajit Singh wrote:
I put up what I can remember of the March meeting on our website: http://www.lisptoronto.org/past-meetings/2010-03-meeting (I also put up Abram's notes from February.)
- Abram: Common Lisp doesn't have a function to copy an array?
Copy-seq works on arrays because arrays are sequences. Note that there is a special copy-list function which does a deep copy of the list (as opposed to the shallow copy done by copy-seq). There are lots of different notions of copying, just like there are lots of different types of equality.
toronto-lisp mailing list toronto-lisp@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp