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

Re: order of evaluation

This page is part of the web mail archives of SRFI 86 from before July 7th, 2015. The new archives for SRFI 86 contain all messages, not just those from before July 7th, 2015.



 * From: Jorgen Schaefer <forcer@xxxxxxxxx>
 | Actually, I would also recommend using a longer name than ALET
 | unless the A has some specific semantic that eludes me at the
 | moment. MU-LET for example would be much more expressive as to the
 | use of the LET form.

ALET means Another (or All ?) LET.
MU-LET also seems to be good.
 
 | Also, is there any reason why you define MU and NU as syntax, and
 | not as procedures?

(define mu*
  (lambda args
    (lambda (f) (apply f args))))

((mu* 1 2 3) list)			=> (1 2 3)
((apply mu* 1 '(2 3)) list)		=> (1 2 3)

Although MU* can be substituted for MU and NU, MU* is much slower than MU.

Thanks.

-- 
Joo ChurlSoo