[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
procedures with setters: patches
From: |
Nicolas Sceaux |
Subject: |
procedures with setters: patches |
Date: |
Fri, 27 Feb 2004 20:13:36 +0100 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Han-Wen,
You will find attached an archive with some patches:
ly/dynamic-scripts-init.ly-patch
scm/chord-entry.scm-patch
scm/clef.scm-patch
scm/music-functions.scm-patch
scm/part-combiner.scm-patch
- in music-functions.scm, ly:grob-property and ly:music-property are
made procedure with setters.
- in this file and all other, occurences of
(ly:...-set-property: obj prop val) are replaced by
(set! (ly:...-property obj prop) val).
- some stylistic corrections have also been made, in order to make the
code a bit more respectful of commonly agreed scheme coding style.
If you prefer patches without coding style corrections (which make the
patches very large, and not exactly human-readable), I may make them
and send them.
Changes:
music-functions.scm: ly:grob-property and ly:music-property are
now procedure with setters, ie one can use
(set! (ly:music-property mus prop) val) instead of
(ly:music-set-property! mus prop val)
chord-entry.scm, clef.scm, music-functions.scm, part-combiner.scm:
scheme style corrections and use of the new setters.
patch-setters.tar.gz
Description: Binary data
nicolas
- procedures with setters: patches,
Nicolas Sceaux <=