bug#74696: [PATCH 1/1] srfi-1: map!: Re-use cons cells of first argument.

2024-12-22 Thread Ludovic Courtès
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’.

bug#74696: [PATCH 1/1] srfi-1: map!: Re-use cons cells of first argument.

2024-12-04 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
* 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.