Comment #2 on issue 3993 by [email protected]: undocument
make-simple-closure
http://code.google.com/p/lilypond/issues/detail?id=3993
The best documentation I see is in misc/ChangeLog 2005-11-02:
* lily/simple-closure.cc: new file. Smob type that allows "grob
member functions",
(ly:make-simple-closure FUNC A B)
is evaluated as (FUNC grob A B). This allows chaining of callbacks
in various ways.
This is more difficult to use than a Scheme lambda(g), so we should remove
make-simple-closure from 'extending'. Removing it from define-grobs.scm
would also be helpful and fairly easily.
We should keep the definition of make-simple-closure, because users will
have followed the old documentation examples.
The underlying C implementation is still used in lily/grob-closure.cc, to
support building composite Scheme functions ('chained callbacks') from the
C code.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings