mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-07 12:40:19 +02:00
* module/ice-9/boot-9.scm (map, for-each): Implement in Scheme instead of C. There are boot versions before `cond' is defined. (map-in-order): Define this alias here instead of in evalext.h. * libguile/eval.c: Stub out the map and for-each definitions to just call into Scheme. * libguile/evalext.c: Remove map-in-order definition. * module/srfi/srfi-1.scm: Replace all calls to map1 with calls to map. (map, for-each): Define implementations here, in Scheme, instead of in C. * test-suite/tests/eval.test (exception:wrong-length, "map"): Update the expected exception for mapping over lists of different lengths. * libguile/srfi-1.h: * libguile/srfi-1.c: Remove map and for-each definitions. Remove the bit that extended the core `map' primitive with another method: the right way to do that is with modules. |
||
---|---|---|
.. | ||
srfi-4 | ||
srfi-9 | ||
srfi-42 | ||
srfi-67 | ||
Makefile.am | ||
srfi-1.scm | ||
srfi-2.scm | ||
srfi-4.scm | ||
srfi-6.scm | ||
srfi-8.scm | ||
srfi-9.scm | ||
srfi-10.scm | ||
srfi-11.scm | ||
srfi-13.scm | ||
srfi-14.scm | ||
srfi-16.scm | ||
srfi-17.scm | ||
srfi-18.scm | ||
srfi-19.scm | ||
srfi-26.scm | ||
srfi-27.scm | ||
srfi-31.scm | ||
srfi-34.scm | ||
srfi-35.scm | ||
srfi-37.scm | ||
srfi-38.scm | ||
srfi-39.scm | ||
srfi-42.scm | ||
srfi-45.scm | ||
srfi-60.scm | ||
srfi-67.scm | ||
srfi-69.scm | ||
srfi-88.scm | ||
srfi-98.scm |