[racket] how to use syntax-case
> I noticed I could make a copy if I use "array" function provided there. Here
> is its format:
>
> (array shape obj ...)
>
> I mean, in order to make a copy of an array, the idea must be
>
> (array (array-shape the-original) obj ...)
>
> ;however, I wondered how I should express "obj ..." part. The supplement of
> SRFI25, or arlib.scm, provides array->list function, so I noticed I've got
> to use a macro like this in the Common Lisp style.
Although I haven't used srfi-25, I think something like this would work?
(apply array (list* (array-shape the-original)
(array->list the-original)))