emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: If records are not sequences, why does aref work on records?


From: Noam Postavsky
Subject: Re: If records are not sequences, why does aref work on records?
Date: Sat, 8 Apr 2017 09:33:49 -0400

On Sat, Apr 8, 2017 at 3:42 AM, Paul Eggert <address@hidden> wrote:
> Noam Postavsky wrote:
>>
>> having copy-record would still be a good idea, as it helps
>> show the intent better.
>
>
> If we go that route, for consistency shouldn't Emacs also have aref-record

Well, if you're using aref on a record, the record abstraction is
already being broken, so it doesn't seem as useful. On the other hand,
I had forgotten about the copy-foo function that cl-defstruct creates,
so maybe copy-record really is redundant.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]