[racket] do loops in racket, also srfi/25 query

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Mon Mar 26 05:11:38 EDT 2012

On Mon, Mar 26, 2012 at 01:31, Joe Gilray <jgilray at gmail.com> wrote:
> Hi Tom,
>
> thanks for the comments.
>
> As far as reading the data into a vector, that can be accomplished with
> "(define vec (read in))"  I was more interested in how to create an srfi/25
> array from that vector.

(apply array (shape 0 3 0 3) '(1 2 3 4 5 6 7 8 9))
#<array:srfi-9-record-type-descriptor>

Does this help?


Posted on the users mailing list.