list*->array argument order Bradley Lucier (20 Feb 2022 17:55 UTC)
Re: list*->array argument order Arthur A. Gleckler (21 Feb 2022 02:32 UTC)
Re: list*->array argument order Lucier, Bradley J (21 Feb 2022 13:40 UTC)
Re: list*->array argument order Bradley Lucier (21 Feb 2022 21:44 UTC)
Re: list*->array argument order Bradley Lucier (03 Mar 2022 19:53 UTC)
Re: list*->array argument order Jens Axel Søgaard (21 Feb 2022 21:45 UTC)

list*->array argument order Bradley Lucier 20 Feb 2022 17:55 UTC

I added Conway's Game of Life as an example in a pull request, and it
has the code:

(define glider
   (list*->array
    '((0 0 0 0 0 0 0 0 0 0)
      (0 0 1 0 0 0 0 0 0 0)
      (0 0 0 1 0 0 0 0 0 0)
      (0 1 1 1 0 0 0 0 0 0)
      (0 0 0 0 0 0 0 0 0 0)
      (0 0 0 0 0 0 0 0 0 0)
      (0 0 0 0 0 0 0 0 0 0)
      (0 0 0 0 0 0 0 0 0 0)
      (0 0 0 0 0 0 0 0 0 0)
      (0 0 0 0 0 0 0 0 0 0))
    2
    u1-storage-class))

The first two arguments are required, but I'm beginning to think that
the short required argument, the dimension, should come before the data
itself, which can be quite large.

Opinions?

Brad