Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[\Rop] no longer works on infinite lists
  • Loading branch information
TimToady committed Mar 30, 2015
1 parent 13fb4a5 commit 346e879
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions S03-metaops/reduce.t
@@ -1,6 +1,6 @@
use v6;
use Test;
plan 367;
plan 366;

=begin pod
Expand Down Expand Up @@ -215,9 +215,6 @@ ok( ([\<] 42) ~~ Iterable, "[\<] 42 returns something Iterable");

is( ([\*] 1..*).[^10].join(', '), '1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800',
'triangle reduce is lazy');
#?niecza skip 'Str cmp Inf'
is( ([\R~] 'a'..*).[^8].join(', '), 'a, ba, cba, dcba, edcba, fedcba, gfedcba, hgfedcba',
'triangle reduce is lazy');

is( ([max]()), -Inf, '[max]() returns -Inf');
is( ([min]()), Inf, '[min]() returns -Inf');
Expand Down

0 comments on commit 346e879

Please sign in to comment.