Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Sigh, another 'eager do for' required to get sane semantics
  • Loading branch information
japhb committed Dec 27, 2012
1 parent 1e9fcfa commit 64ba332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench
Expand Up @@ -276,7 +276,7 @@ sub for-components (@components, &code) {
#= Run code for every checkout in every requested component
sub for-checkouts (@components, &code) {
for-components @components, -> $comp, $name {
for $comp<checkouts>.list -> $checkout {
eager do for $comp<checkouts>.list -> $checkout {
say "----> $checkout";

code($comp, $name, $checkout);
Expand Down

0 comments on commit 64ba332

Please sign in to comment.