[ << Programming work ] | [Top][Contents] | [ Release work >> ] |
[ < Callback tutorial ] | [ Up : Programming work ] | [ Purity in LilyPond > ] |
10.14 Understanding pure properties
10.14.1 Purity in LilyPond | ||
10.14.2 Writing a pure function | ||
10.14.3 How purity is defined and stored | ||
10.14.4 Where purity is used | ||
10.14.5 Case studies | ||
10.14.6 Debugging tips |
Pure properties are some of the most difficult properties to understand in LilyPond but, once understood, it is much easier to work with horizontal spacing. This document provides an overview of what it means for something to be ‘pure’ in LilyPond, what this purity guarantees, and where pure properties are stored and used. It finishes by discussing a few case studies for the pure programmer to save you some time and to prevent you some major headaches.