[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: |
Fri, 07 Apr 2017 20:23:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Drew Adams wrote:
> If the intention is to add a new kind of sequence, for
> example to add a record type and have it be considered
> a type of sequence, then I think it should support all
> sequence features, just like other sequences.
>
> If it does not support everything intended by "sequence"
> then I think we should not present it as a sequence. In
> particular, it should not be documented as a sequence in
> that case.
>
> As to what a sequence is, one guide is to refer to Common
> Lisp, which carefully defines sequences and sequence
> operations.
So what do you think about the byte-code type, which supports many, but
not all, sequence operations? Is that a long-standing bug?
- Debugging problems using async.el, (continued)
- Re: Recent change in master breaks async package update using paradox, Stefan Monnier, 2017/04/07
- What is a "sequence"?, Lars Brinkhoff, 2017/04/07
- Re: What is a "sequence"?, Stefan Monnier, 2017/04/07
- 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/07
- RE: If records are not sequences, why does aref work on records?, Drew Adams, 2017/04/07
- 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?, Drew Adams, 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?, Stefan Monnier, 2017/04/07
- RE: If records are not sequences, why does aref work on records?, Drew Adams, 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?, 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