Mutation

Mike McDonald mikemac@titian.engr.sgi.com
Tue, 13 May 1997 23:15:22 -0700


>Subject: Re: Mutation
>To: lispos@math.gatech.edu
>Date: Wed, 14 May 1997 01:42:21 -0400 (EDT)
>From: BRIAN SPILSBURY <zhivago@iglou.com>

>(make-array (length foo) :allocation immutable :generator
>  `(lambda (i) (nth i ,foo)))
>
>to initialize from a list.
>
>A simple, clean solution?
>
>Brian
>

  Why not just use the :initial-contents keyword?

  Mike McDonald
  mikemac@engr.sgi.com