[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: early termination for `map'
From: |
Andy Wingo |
Subject: |
Re: early termination for `map' |
Date: |
Thu, 05 May 2011 20:27:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
On Thu 05 May 2011 17:24, Andy Wingo <address@hidden> writes:
> If you call `map' or `for-each' with more than one list, our versions of
> these operators will detect if the lists are of unequal length, and
> throw an error in that case.
>
> However, SRFI-1 has long provided an extension to this, to allow for
> early termination when any of the lists runs out. R6RS adopted this,
> and it looks like R7RS will ratify that.
FWIW I think I misremembered here: R6RS map requires the lists to be of
the same length.
Andy
--
http://wingolog.org/
- early termination for `map', Andy Wingo, 2011/05/05
- Re: early termination for `map', Noah Lavine, 2011/05/05
- Re: early termination for `map', Ludovic Courtès, 2011/05/05
- Re: early termination for `map', Andy Wingo, 2011/05/05
- Re: early termination for `map', Ludovic Courtès, 2011/05/05
- Re: early termination for `map', Andy Wingo, 2011/05/05
- Re: early termination for `map', Ludovic Courtès, 2011/05/06
- ‘map’ and ‘for-each’ written in Scheme, Ludovic Courtès, 2011/05/08
- Re: ‘map’ and ‘for-each’ written in Scheme, Andy Wingo, 2011/05/08
Re: early termination for `map',
Andy Wingo <=