scheme/list requests [was: Re: [plt-dev] Re: more requests for typed-scheme]
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!