Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (17 sloc) 371 Bytes
role Positional[::T = Mu] {
method at_pos($pos) {
Q:PIR {
.local pmc self, pos
self = find_lex 'self'
pos = find_lex '$pos'
$I0 = pos
%r = self[$I0]
unless null %r goto done
%r = new ['Perl6Scalar']
done:
}
}
method of() {
T
}
}
Jump to Line
Something went wrong with that request. Please try again.