[Top][All Lists]

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

Re: scheme accessors

From: Nicolas Sceaux
Subject: Re: scheme accessors
Date: Thu, 26 Feb 2004 12:06:01 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Wed, 25 Feb 2004 15:17:10 +0100, Han-Wen a dit : 

 > address@hidden writes:
 >> I had a cold sweat when running the new 2.1.26, but then read:
 >> "The naming of exported Scheme functions now follows Scheme conventions."
 >> Ouf.
 >> This is just a suggestion:
 >> It may be more idiomatic to define a setter for accessors. For
 >> instance, given the reader ly:music-property and the writer
 >> ly:music-set-property!:
 >> (define-public ly:music-property
 >> (make-procedure-with-setter ly:music-property
 >> ly:music-set-property!))
 >> you can then use ly:music-property to access the property as before,
 >> but you can also use it with set!:

 > Can I ask for a patch?

ok I'm working on it.


reply via email to

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