[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: |
Lars Brinkhoff |
Subject: |
Re: If records are not sequences, why does aref work on records? |
Date: |
Sat, 08 Apr 2017 17:24:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Clément Pit-Claudel wrote:
> It doesn't need to: since vectors and lists are used, it's natural to
> use vector and list functions on these objects. It goes further: the
> cl-struct predicates are explicitly *documented* to work fine on
> vectors:
>
> Given any Lisp object X, ‘(person-p X)’ returns true if X looks
> like a ‘person’, and false otherwise. (Again, in Common Lisp this
> predicate would be exact; in Emacs Lisp the best it can do is
> verify that X is a vector of the correct length that starts with
> the correct tag symbol.)
Not any more. When I made my change, I found this part of the manual
and deleted the text in parentheses. And also changed much of the other
places you quoted.
This is not to say that I weigh in on any side of this debate. I think
both sides make good arguments.
- Re: If records are not sequences, why does aref work on records?, (continued)
- Re: If records are not sequences, why does aref work on records?, Noam Postavsky, 2017/04/07
- Re: If records are not sequences, why does aref work on records?, Paul Eggert, 2017/04/07
- Re: If records are not sequences, why does aref work on records?, Lars Brinkhoff, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Lars Brinkhoff, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Noam Postavsky, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Paul Eggert, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Eli Zaretskii, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Noam Postavsky, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Philipp Stephani, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Clément Pit-Claudel, 2017/04/08
- Re: If records are not sequences, why does aref work on records?,
Lars Brinkhoff <=
- Re: If records are not sequences, why does aref work on records?, Clément Pit-Claudel, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Lars Brinkhoff, 2017/04/08
- Re: If records are not sequences, why does aref work on records?, Richard Stallman, 2017/04/09
- Re: If records are not sequences, why does aref work on records?, Stefan Monnier, 2017/04/11
- Re: If records are not sequences, why does aref work on records?, Clément Pit-Claudel, 2017/04/07
- Re: If records are not sequences, why does aref work on records?, Noam Postavsky, 2017/04/07
- Re: If records are not sequences, why does aref work on records?, Clément Pit-Claudel, 2017/04/07
- Re: If records are not sequences, why does aref work on records?, Stefan Monnier, 2017/04/07
- Re: If records are not sequences, why does aref work on records?, Clément Pit-Claudel, 2017/04/07
Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/07