This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: Constructs for programming with sequences
- To: Mikael Djurfeldt <djurfeldt@nada.kth.se>
- Subject: Re: Constructs for programming with sequences
- From: Mikael Djurfeldt <mdj@nada.kth.se>
- Date: 31 May 1999 20:54:45 +0200
- Cc: guile@cygnus.com
- Cc: mdj@nada.kth.se
- References: <199905311843.UAA26099@mdj.nada.kth.se>
Mikael Djurfeldt <mdj@nada.kth.se> writes:
> 1. Generation
>
> (map-index N PROC) --> LIST
Another candidate for this one could be
(for-map FROM TO STEPPER PROC)
Maybe that looks even prettier in the code
(for-map 1 10 1+
(lambda (i)
i))