Re: Standard library praise and challenge
- Posted by useless Sep 13, 2011
- 3299 views
SDPringle said...
I have wondered for some time. Why do max and min recurse?
Like max({"Head","Tail"}) will give you 'l' but it seems to me you would want the object with the highest value ("Tail") more often then the highest letter ('l').
I'd say max({"Head","Tail"}) should give you a word, max("HeadTail") should give you a letter.
Likewise, max( { {"2,Tail"} , {"1,Head" } } ) should return a sequence.
SDPringle said...
There must have been a reason for this.
Shawn
I wouldn't bet on that.
useless