]> birchwood-abbey.net Git - mit-scheme.git/commit
Change several procedures to comply with R7RS.
authorChris Hanson <org/chris-hanson/cph>
Tue, 16 Mar 2021 05:05:02 +0000 (22:05 -0700)
committerChris Hanson <org/chris-hanson/cph>
Thu, 18 Mar 2021 06:37:33 +0000 (23:37 -0700)
commit9424bffb1f325d8dba6a6b3454324fecd95fb350
tree7aff986e4d2bec0f4afe83b4c36dd71ba394daea
parentc6f496aefebc9213f3a3500287401884dee244ec
Change several procedures to comply with R7RS.

In particular:

* Change map and vector-map to avoid mutating previously returned results when
  there are multiple returns.

* Change list-copy to accept improper lists.

* Change vector-map and vector-for-each to stop on the shortest argument list.
src/runtime/list.scm
src/runtime/vector.scm