<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">% perl6 -e 'subset Positive of Int where { $_ > 0 }; my Positive $x = -1;'</div>

Type check failed for assignment<br>
<br>
% perl6 -e 'subset Positive of Int where { $_ > 0 }; my Positive $x =<br>
42; $x.say'<br>
42</blockquote><div><br></div><div>Просто создать множество чисел больше нуля? </div></div>