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

Other names for ITERATE



Here are some synonyms for let that could be 
used as replacements for ITERATE.  Notice they do not
give any connotation on how the named function will be used.

ALLOW
PROVIDE
ENTITLE
FOSTER

I think the following does looks pretty good.

(ALLOW LOOP ((L L) (SUM 0))
  (IF (NULL? L)
      SUM
      (LOOP (CDR L) (+ (CAR L) SUM))))
John