scheme/list requests [was: Re: [plt-dev] Re: more requests for typed-scheme]

From: Eli Barzilay (eli at barzilay.org)
Date: Sat May 2 19:26:49 EDT 2009

On May  2, David Van Horn wrote:
> Eli Barzilay wrote:
> > I don't see any `make-list' on these pages.
> 
> No, but that's because there is no make-list, so it is written:
> 
> (let ((v e))
>    (build-list n (lambda (i) v)))

Yes, I know.  Yet these are still a minority where `build-list' does
fine -- specifically (a) none of these pieces of code had a separate
abstraction for `make-list' (b) the confusion re its utility and
immutability of lists is still there.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!


Posted on the dev mailing list.