rosetta-code.metronome: fix metronome to stop the timer.

db4
John Benediktsson 2013-10-01 13:08:19 -07:00
parent ffdf4b6f82
commit 1cfbb02571
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ IN: rosetta-code.metronome
: metronome ( bpm notes -- )
[ start-metronome-timer ] dip
[ run-metronome ] curry [ stop-timer ] [ ] cleanup ;
[ run-metronome ] 2curry [ stop-timer ] [ ] cleanup ;
: metronome-example ( -- ) 60 { 440 220 330 } metronome ;