[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementation of MAP, SOME, EVERY, etc...

 I disagree with RAM;  Imposing the requirement that all lists
passed to MAPxxx be "proper" imposes an unnecesary burden on
the use of mapping functions;  The programmer shouldn't have to
know anything about the lists passed to MAPxxx except that the
sortest list is a proper list.

 Besides, it would be an extremely poor implementation technique
to take LENGTH of all the lists before starting work -- I would say
that system functions should NEVER use LENGTH unless it is otherwise
known that the functin in question will inspect every element of the
list anyway, both because lists might legitimately be "improper",
and because lists can legitimately be very long, which makes 
LENGTH wasteful.