1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/module
Andy Wingo a2230b653b map and for-each in scheme
* 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.
2011-05-05 23:07:37 +02:00
..
ice-9 map and for-each in scheme 2011-05-05 23:07:37 +02:00
language speed up compile-bytecode 2011-05-05 11:43:12 +02:00
oop Allow GOOPS getters to add methods to primitive generics 2011-02-14 20:33:11 +01:00
rnrs (rnrs arithmetic fixnums) fixnum? export a procedure again 2011-04-13 12:50:41 +02:00
scripts Remove statements about scripts/* that are no longer true 2011-03-25 19:45:14 +00:00
srfi map and for-each in scheme 2011-05-05 23:07:37 +02:00
sxml sxml->xml fix 2010-12-02 22:24:26 +01:00
system ignore SIGPIPE in (system repl server) 2011-04-11 10:13:48 +02:00
texinfo fix stexi->html double translation 2011-03-26 13:33:40 +01:00
web web server more assiduous about closing ports 2011-02-24 11:10:49 +01:00
Makefile.am add (ice-9 command-line) 2011-04-14 16:06:07 +02:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00