lilypond-devel
[Top][All Lists]
Advanced

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

Re: bar-line interface part 2/2: New bar line definition standard (issue


From: Marc Hohl
Subject: Re: bar-line interface part 2/2: New bar line definition standard (issue 6498052)
Date: Mon, 01 Oct 2012 11:08:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1

Am 01.10.2012 11:00, schrieb address@hidden:
On 2012/10/01 08:46:09, marc wrote:
Am 30.09.2012 22:03, schrieb address@hidden:
> On 2012/09/30 19:44:49, marc wrote:
>> Am 30.09.2012 11:02, schrieb address@hidden:
>> > [...]
>> > First, the define-public is asking for trouble. You are exposing
an
>> > internal Scheme data structure to users and make it overwritable
by
> the
>> > user. If the user follows this invitation, the effects will bleed
> over
>> > from session to session. Never do that.
>> Ok.
>
> No, it's not ok.  Hold your horses, this is another case too stupid
for
> documenting and walking people through.  Give me two days, and then
you
> replace your define-public for the alists with define-session, and
> that's it.  The rest of the code stays as it is.
That's good news! I think I owe you something, thanks in advance!

Or define-session-public.  define-session will be for data that is reset
per session, but not publicly accessible.  Which is probably what you
want if all the accessor functions are already in your .scm file.
I think that -public is needed for data to be accessible for a user?
Or is it sufficient that the function accessing the data is -public?

http://codereview.appspot.com/6498052/





reply via email to

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