[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make ly:make-unpure-pure-container accept a single callback (issue 73820
From: |
mtsolo |
Subject: |
Make ly:make-unpure-pure-container accept a single callback (issue 7382046) |
Date: |
Thu, 21 Feb 2013 19:35:35 +0000 |
LGTM, with one suggestion: the difference between unpure and pure
functions in LilyPond is that unpure functions accept n arguments
whereas pure functions accept n+2. This shortcut you're proposing only
works when n=1, which you document, but it'd be nice if it worked for an
arbitrary number of input arguments. It'd only be possible to do this,
though, if there were a way in C++ to determine the number of arguments
a Scheme function took.
https://codereview.appspot.com/7382046/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Make ly:make-unpure-pure-container accept a single callback (issue 7382046),
mtsolo <=