Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: 2011.02
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (17 sloc) 0.371 kb
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.