|
From: | Stefan Monnier |
Subject: | Re: If records are not sequences, why does aref work on records? |
Date: | Tue, 11 Apr 2017 08:27:54 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
> On the other hand, it is wasteful to create myriad 'copy-FOO' > functions that all do the same thing. We may as well have > one function 'copy-struct' function that copies all kinds of sequences. The only reason cl-defstruct defines `copy-FOO` is because Common-Lisp's defstruct does. I can't remember ever seeing Elisp code make use of those "copiers". Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |