Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[src/core/Any-list.pm] be more forgiving
In the min/max/minmax methods, even though we should technically expect to get only -1, 0, or +1, we'll instead check for negative, zero, and positive. This due to at least two reasons: (a) Postel's law, (b) it's faster :)
- Loading branch information
Carl Masak
committed
Aug 27, 2010
1 parent
18189a2
commit 2740248
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters