Subject: Re: YA Scheme critique
From: rpw3@rigden.engr.sgi.com (Rob Warnock)
Date: 12 Jun 2002 10:50:36 GMT
Newsgroups: comp.lang.scheme
Message-ID: <ae791s$gkb1$1@fido.engr.sgi.com>
Thomas Bushnell, BSG <tb+usenet@becket.net> wrote:
+---------------
| George Caswell <sieg_haro@attbi.com> writes:
| >    Because other languages support resizable vectors, therefore you have a
| > sensible primitive with which to (pretty trivially) implement resizable
| > vectors.
| 
| Neither C, Fortan, nor Pascal support resizeable vectors.
+---------------

Their loss. But Common Lisp does, see <URL:http://www.xanalys.com/
software_tools/reference/HyperSpec/Body/15_aacaa.htm> "Fill Pointers"
for "adjustable arrays", and the links to MAKE-ARRAY and ADJUST-ARRAY.

CL also has "displaced-to" arrays, which are a convenient way to do
sharing of subsets of an array.


-Rob

-----
Rob Warnock, 30-3-510		<rpw3@sgi.com>
SGI Network Engineering		<http://www.rpw3.org/>
1600 Amphitheatre Pkwy.		Phone: 650-933-1673
Mountain View, CA  94043	PP-ASEL-IA

[Note: aaanalyst@sgi.com and zedwatch@sgi.com aren't for humans ]