lilypond-devel
[Top][All Lists]
Advanced

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

Re: Make music functions callable from Scheme (issue 244840043 by addres


From: dak
Subject: Re: Make music functions callable from Scheme (issue 244840043 by address@hidden)
Date: Mon, 24 Aug 2015 15:37:50 +0000

On 2015/06/07 22:16:02, Keith wrote:
LGTM

I gather that Scheme fluids are variables with global scope but
distinct storage
for each Scheme thread, so they can be used to reference to the
specific parser
(if any) in use by the thread that called the music function.

Scheme fluids are not as much "variables" as they are values you can
assign to variables and other data structures.  Their value is
associated with dynamic scope (dynamic scope is what "catch" expressions
for exceptions have: they run out of validity the moment you leave their
continuation but are available anywhere within, independent of lexical
scope).

In order not to make things too confusing, most fluids are indeed stored
in global variables and accessed from there.

Sorry for answering this a bit late.

https://codereview.appspot.com/244840043/



reply via email to

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