in reply to A proper name for is_sorted function that can check more than just sorting order?
There. Anyone can understand that in about ten seconds, and debug it and patch it forever. Go ahead and write as many "redundant" functions like this as you care to, because the day$a = <file>; while ($b = <file>) { if (($a cmp $b) > 0) return false; $a = $b; } return true;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: A proper name for is_sorted function that can check more than just sorting order?
by LanX (Saint) on Dec 28, 2017 at 08:09 UTC | |
Re^2: A proper name for is_sorted function that can check more than just sorting order?
by Dallaylaen (Chaplain) on Dec 28, 2017 at 09:18 UTC |