ashinn / chibi-scheme

Official chibi-scheme repository
Other
1.23k stars 141 forks source link

SRFI 231: array-reduce should throw an error on empty arrays. #964

Closed gambiteer closed 6 months ago

gambiteer commented 6 months ago

This should throw an error:

> (array-reduce + (make-array (make-interval '#(0)) list))
(first-element)