How do you create a vector of vectors in scheme, and how can change the input on a certain event?
I am aware of the existence of SRFI25, which allows you to do just that, but I'm interest to see the implementation, as well as the result.
How do you create a vector of vectors in scheme, and how can change the input on a certain event?
I am aware of the existence of SRFI25, which allows you to do just that, but I'm interest to see the implementation, as well as the result.
This will create an immutable vector:
'#(#(1 2 3) #(4 5 6))
And this will create a mutable vector, with the same structure:
(vector (vector 1 2 3) (vector 4 5 6))