Camelia

role Positional

src
    role Positional { ... }

 
Role for objects which support indexing them using postcircumfix:«[ ]» (usually list-like objects). Example types with Positional role include L<Parcel>, L<List>, L<Array>, L<Range>, and L<Buf>.

Methods

of

    method of()

 
Returns the type constraint for elements of the positional container. Defaults to L<Mu>.

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: