ashinn / chibi-scheme

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

Add and test array-fold-{left|right}, remove array-fold{l|r} #980

Closed gambiteer closed 2 months ago

gambiteer commented 2 months ago

The commit history is a bit ragged, sorry.

gambiteer commented 2 months ago

I have to rethink how this works, I apologize for the noise, your tests don't pass.

ashinn commented 2 months ago

The tests are from SRFI 179. They fail because they're fold-left on matrix multiplication which is not commutative. Just updating the tests is fine.