Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
last works again inside winner, jnthn++
  • Loading branch information
lizmat committed Nov 23, 2013
1 parent c64efea commit f276f25
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/vm/jvm/core/Channel.pm
Expand Up @@ -92,12 +92,10 @@ my class Channel {
}

method list($self:) {
my $condition = False;
map {
last if $condition;
winner $self {
more * { $_ }
done * { $condition = True; Nil }
done * { last }
}
}, 0..*; # until we have a listless map { }
}
Expand Down

0 comments on commit f276f25

Please sign in to comment.