Simplify boot-9 and srfi-1 map
authorAndy Wingo <wingo@pobox.com>
Sun, 30 Mar 2014 20:28:07 +0000 (22:28 +0200)
committerAndy Wingo <wingo@pobox.com>
Mon, 31 Mar 2014 16:21:04 +0000 (18:21 +0200)
commit4926024cfbd9d0a428880a919b6e5a394b4a304d
tree46cc428574e55a9ac6c6333d0652485015acac1e
parentde3cbadcc08f7f46bab0d91d4dcc5bac2f64613f
Simplify boot-9 and srfi-1 map

* module/ice-9/boot-9.scm (map):
* module/srfi/srfi-1.scm (map): Simplify the implementations to check
  for list? beforehand.  It's faster, and it will be needed if we decide
  to go recursive.
module/ice-9/boot-9.scm
module/srfi/srfi-1.scm