Hi All,

On https://docs.raku.org/routine/range, it states:

method range(--> Range:D)

What is being said?

   method I understand.

   Range would be the name of the method

   --> means is return the range of what was fed the
   method and is defined


This one ain't all the hard to decipher.

So why does this not work?

> my int8 $u = 0xF8; $u.range

No such method 'range' for invocant of type 'Int'. Did you mean any of these?
    Range
    rand


Perplexed,
-T

Reply via email to