guile-user
[Top][All Lists]
Advanced

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

Re: unusual let binding (of lp) - in function element->xml from sxml sim


From: Andreas Reuleaux
Subject: Re: unusual let binding (of lp) - in function element->xml from sxml simple
Date: Sat, 03 Feb 2024 22:16:55 +0000
User-agent: Gnus/5.13 (Gnus v5.13)


"Thompson, David" <dthompson2@worcester.edu> writes:


> This is a form of 'let' known as "named let". In the code you
> reference, the variable 'lp' is a procedure, short for "loop", and the
> let bindings give initial values for the loop. Calling 'lp' will bring
> control back to the beginning of the 'let' with the bindings rebound
> to new values. It's a convenient shorthand for simple loops.
>
> See 
> https://www.gnu.org/software/guile/manual/html_node/while-do.html#index-let-1
> for more info.
>
> Hope this helps,
>
> - Dave


OK, thanks a lot ... and yes: this does help indeed,

(and I am list replying)

-Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]