Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(157)

Issue 13457060: Allow define-*-function to accept currying definitions (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by dak
Modified:
10 years, 5 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

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'' } [...]

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -12 lines) Patch
M scm/music-functions.scm View 1 chunk +25 lines, -12 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b