Skip to content

Commit

Permalink
Passing TODOs :-).
Browse files Browse the repository at this point in the history
  • Loading branch information
GlitchMr committed Dec 10, 2012
1 parent a18f56f commit b8d4388
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions integration/99problems-11-to-20.t
Expand Up @@ -207,15 +207,13 @@ plan 25;
sub drop4(@list, Int $nth) {
(@list[$_] if ($_+1) % $nth) for ^@list;
}
#?rakudo todo 'unknown'
#?niecza todo
is drop4(<a b c d e f g h i k>, 3), <a b d e g h k>,
'We should be able to drop list elements using (statement if) for';

sub drop5(@list, Int $nth) {
@list[$_] if ($_+1) % $nth for ^@list;
}
#?rakudo todo 'unknown'
#?niecza todo
is drop5(<a b c d e f g h i k>, 3), <a b d e g h k>,
'We should be able to drop list elements using list comprehension';
Expand Down

0 comments on commit b8d4388

Please sign in to comment.