Skip to content

Commit

Permalink
Seq (and thus Array) should do Positional.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Feb 8, 2010
1 parent f3e62dc commit 4d6f164
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtins/Seq.pir
Expand Up @@ -25,7 +25,7 @@ sequence of items.
pos_role = pos_role.'!select'()

# Create the class.
seqproto = p6meta.'new_class'('Seq', 'parent'=>'Iterable', 'attr'=>'@!items $!rest')
seqproto = p6meta.'new_class'('Seq', 'parent'=>'Iterable', 'attr'=>'@!items $!rest', 'does_role'=>pos_role)
.end

=item iterator()
Expand Down

0 comments on commit 4d6f164

Please sign in to comment.