home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0963.lha / SIOD / scm / iterate.scm < prev    next >
Text File  |  1993-02-22  |  400b  |  11 lines

  1. (macro iterate
  2.        (lambda (e)
  3.                (let ((name (cadr e))
  4.                      (initial-bindings (caddr e))
  5.                      (body (cdddr e)))
  6.                     `((rec ,name
  7.                            (lambda
  8.                                   ,(mapcar car initial-bindings)
  9.                                   ,@body))
  10.                            ,@(mapcar cadr initial-bindings)))))
  11.