Fix array map functions with empty arguments
authorDaniel Llorens <daniel.llorens@bluewin.ch>
Fri, 19 Apr 2013 10:57:13 +0000 (12:57 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 9 Feb 2014 11:48:21 +0000 (12:48 +0100)
commit8269f0be18c046d94f01f83dcff80794e97e6c27
treeba133adc5125997ebeb5dcbe856f3d91d32260da
parentb0d9b0744a6bfadbf172a90ed3b5b788555ca11d
Fix array map functions with empty arguments

* libguile/array-map.c
  - scm_ra_matchp: look for empty axes and return new case 5 if so. Use
    array handles to remove the SCM_I_ARRAYP / not branch.
  - scm_ramapc: Heed case 5.
* test-suite/tests/ramap.test
  - test empty arguments for array-copy! and array-for-each. Note those
    that failed in 2.0.9.
libguile/array-map.c
test-suite/tests/ramap.test