[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
overriding car/cdr (was: Worrying development)
From: |
Paul Jarc |
Subject: |
overriding car/cdr (was: Worrying development) |
Date: |
Sun, 25 Jan 2004 21:42:39 -0500 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) |
Marius Vollmer <address@hidden> wrote:
> Hmm, my immediate reaction is that car/cdr are too low-level for
> making them overrideable, but map and for-each and other operations
> that work on whole sequences look like good targets...
Going that route, there will always be one more function that someone
wants to be converted. Third-party libraries also often won't be able
to handle generated lists without modification. OTOH, by modifying
SCM_CAR/SCM_CDR, everything that handles lists automatically becomes
able to handle generated lists, and the cost for normal lists is only
the same cost as when compiling with -DSCM_DEBUG_PAIR_ACCESSES=1.
paul
- Re: Worrying development, (continued)
- Re: Worrying development, Tom Lord, 2004/01/22
- Re: Worrying development, Dirk Herrmann, 2004/01/23
- Re: Worrying development, Tom Lord, 2004/01/23
- Re: Worrying development, Marius Vollmer, 2004/01/23
- Re: Worrying development, Tom Lord, 2004/01/23
- Re: Worrying development, Marius Vollmer, 2004/01/23
- Re: Worrying development, Tom Lord, 2004/01/23
- Re: Worrying development, Paul Jarc, 2004/01/23
- Re: Worrying development, rm, 2004/01/24
- Re: Worrying development, Marius Vollmer, 2004/01/24
- overriding car/cdr (was: Worrying development),
Paul Jarc <=
- Re: Worrying development, Dirk Herrmann, 2004/01/23
- Re: Worrying development, Tom Lord, 2004/01/23