in reply to Re^9: Small Perl 6 discoveries II, Rats
in thread [Perl6] Small discoveries I, __DATA__

Type check failed in assignment to $x; expected Rat but got FatRat

At least that Rat appears to be immutable ;-)

I need to study the documentation and spend some time working through it.

Cheers,
Rob
  • Comment on Re^10: Small Perl 6 discoveries II, Rats

Replies are listed 'Best First'.
Re^11: Small Perl 6 discoveries II, Rats
by raiph (Deacon) on Oct 27, 2017 at 19:03 UTC
    I do think studying the doc and working through it is the way to go but in the meantime, for anyone else reading along, I may be missing a joke here (given Rob's wink smiley), but to be humorless but hopefully clear, all Rats are immutable, as explained in my ancestor comment.