Follow-up Comment #2, bug #30070 (project guile):

Stefan, the tail pointer does preserve performance, but it does not preserve
the R6RS invariant about multiple returns.

Szavai is right.  Perhaps we should provide some other definition of `map'
within R6RS to satisfy this requirement.  However, a proper solution looks
more like recursion than iteration, and to do that with arbitrary-sized lists
will require Guile to implement extendable stacks, which is a significant
hack.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30070>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


Reply via email to