ashinn / chibi-scheme

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

SRFI 231: Add index-* tests #920

Closed gambiteer closed 1 year ago

gambiteer commented 1 year ago

lib/srfi/231/base.scm:

  1. Add argument checks for index-first, index-last, index-rotate, and index-swap.

lib/srfi/231/test.sld:

  1. 1,$s/179/231/g (in vim notation)

  2. Add tests for index-first, index-last, index-rotate, and index-swap.

  3. Remove trailing spaces.

gambiteer commented 1 year ago

OK, will you merge this?