lilypond-user
[Top][All Lists]
Advanced

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

Re: How to get warnings for unused parts of a file?


From: Omid Mo'menzadeh
Subject: Re: How to get warnings for unused parts of a file?
Date: Sat, 2 Oct 2021 18:54:35 +0330

Ah! Now I get it! Thank you very much!

On Sat, Oct 2, 2021 at 6:39 PM David Kastrup <dak@gnu.org> wrote:
"Omid Mo'menzadeh" <omid.mnzadeh@gmail.com> writes:

> I'm just re-stating this to make sure I'm getting it right: Definitions are
> lazy, and the _expression_ in front of # is lazy too, so it gets a chance to
> see the definition once it's done? Am I right?

It's not a definition but an assignment, and the assignment is not
"lazy" but executed as soon as it is complete.  Recognizing its
completeness may require examining the type of the next token, and the
type of $ depends on its value (which consequently needs to be evaluated
to figure out its type) while the type of # doesn't.

--
David Kastrup

reply via email to

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