lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3563 in lilypond: Patch: Allow define-*-function t


From: lilypond
Subject: [Lilypond-auto] Issue 3563 in lilypond: Patch: Allow define-*-function to accept currying definitions
Date: Wed, 18 Sep 2013 19:06:40 +0000

Status: Started
Owner: address@hidden
Labels: Type-Enhancement Patch-new

New issue 3563 by address@hidden: Patch: Allow define-*-function to accept currying definitions
http://code.google.com/p/lilypond/issues/detail?id=3563

Allow define-*-function to accept currying definitions

This is actually only useful for define-scheme-function since the
purpose of a currying definition is to return a function rather than a
music expression.  A typical usage case would be a function creating
an engraver closure:

dia-engraver =
   (ly:pitch? ly:pitch?)
     (let ((store '()) (cause #f))
       (make-engraver

[...]

   \new Voice \with { \consists \dia-engraver c' g'' }

[...]

http://codereview.appspot.com/13457060

--
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



reply via email to

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