ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.21k stars 142 forks source link

Add index-swap, fix assert in array-append #918

Closed gambiteer closed 1 year ago

gambiteer commented 1 year ago

These changes are untested.

gambiteer commented 1 year ago

I noticed that some arguments were protected by asserts, and others were not. Do you want argument checks for all arguments?

ashinn commented 1 year ago

Yes, in general there should be more checks. This is still a WIP but I hope to wrap up soon. Notably array-block is not implemented, and the signature of make-specialized-array is incorrect (and probably a few other details).