- or download this
time ./perl6 -e 'my $s; for 1..10000 {$s+=1./$_**2};say $s'
===SORRY!===
Unable to parse blockoid, couldn't find final '}' at line 2
- or download this
./perl6 -e 'my $s;my Num $i;for 1..10000 -> $i {$s+=1/$i**2};say $s'
- or download this
./perl6 -e 'my Num $s;my Num $i;for 1..10000 -> $i {$s+=1/$i**2};say $
+s'
Type check failed in assignment to '$s'; expected 'Num' but got 'Rat'
...
in method eager at src/gen/CORE.setting:4715
in method eager at src/gen/CORE.setting:1028
in sub eager at src/gen/CORE.setting:5000