Hi Juliana,
Juliana Sims skribis:
> * module/srfi/srfi-1.scm (map!): Re-use cons cells of first argument.
Could you add a couple of tests under ‘test-suite/tests/srfi-1.test’?
Apart from that it looks good to me. Thank you!
Ludo’.
* module/srfi/srfi-1.scm (map!): Re-use cons cells of first argument.
---
Hello,
This patch rewrites map! to update its first argument in-place. I based the
implementation on the description in the Guile manual. Most of the code is
copied from regular map with different argument checking logic.