Changes between Initial Version and Version 1 of Ticket #1422


Ignore:
Timestamp:
10/19/17 12:29:35 (7 years ago)
Author:
sjamaan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1422 – Description

    initial v1  
    2222Also, giving the error after executing the procedure is questionable; maybe it should first check the lengths of the lists and ''then'' start traversing them?
    2323
    24 Finally, we need to decide how we want {{{for-each}}} to behave: like the compiler syntax or like the procedure. Either is fine by me, and judging what the standard says, I think both are fine too. It doesn't explicitly say "it is an error" when the lists aren't the same length, but it just says "the lists must be the same length".  R7RS explicitly allows the lists to be of unequal length, so maybe we should just allow this as an allowed extension to R5RS and get rid of the check.
     24Finally, we need to decide how we want {{{for-each}}} to behave: like the compiler syntax or like the procedure. Either is fine by me, and judging what the standard says, I think both are fine too. It doesn't explicitly say "it is an error" when the lists aren't the same length, but it just says "the lists must be the same length".  R7RS explicitly allows the lists to be of unequal length (presumably taken from SRFI-1's extended definition), so maybe we should just allow this as an allowed extension to R5RS and get rid of the check.