Skip to content

Commit

Permalink
Set Any.reverse to flatten the invocant before reversing.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Sep 17, 2010
1 parent a90ae93 commit 9e46fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Any-list.pm
Expand Up @@ -64,7 +64,7 @@ augment class Any {
}
}

multi method reverse() { self.list.reverse }
multi method reverse() { self.flat.reverse }

multi method end() { self.elems - 1; }

Expand Down

0 comments on commit 9e46fe0

Please sign in to comment.