[plt-scheme] Fun with paren-shape

From: Andrew Reilly (andrew-scheme at areilly.bpc-users.org)
Date: Wed Jun 6 02:20:43 EDT 2007

On Tue, Jun 05, 2007 at 02:32:42PM +0200, Jens Axel S??gaard wrote:
> > [1 .. 11]
> (1 2 3 4 5 6 7 8 9 10)

I think that the idea is neat (I particularly like the
vector-ref short-hand), but in this mode of use I think that the
interval should go to 11, in deference with the historic use of
[a .. b].  What you've got above is more like [a .. b).  (I'm
pretty partial to (iota 10 1) for this particular idiom, myself,
though.)

Cheers,

-- 
Andrew


Posted on the users mailing list.