[Openmcl-devel] Where is the source of LET* macro

Ron Garret ron at flownet.com
Fri Apr 14 14:03:35 PDT 2023


LET* is not a macro, it's a special form.  But a good first-order approximation is:

(let* ((var1 val1) (var2 val2) ...) ...

==

(let ((var1 val1))
  (let ((var2 val2))
    ...

> On Apr 14, 2023, at 1:17 PM, Arthur Cater <arthur.cater at ucd.ie> wrote:
> 
> I can only find a define-compiler-macro, I want to see how LET* handle declarations.
> It surprises me that it is apparently legal to say
> 
> ? (let* ((it 7) (it (list it it)) (it (length it))) it)
> 2
> ? 
> 
> and I wondered how declarations (if present) are treated - but I can’t find the source code.
> 
> TIA for any hep



More information about the Openmcl-devel mailing list