How can I extend Scala collections with an argmax method?

Posted by Lukasz Lew on Stack Overflow See other posts from Stack Overflow or by Lukasz Lew
Published on 2010-06-16T03:31:25Z Indexed on 2010/06/16 4:02 UTC
Read the original article Hit count: 202

Filed under:
|
|
|

I would like to add to all collections where it makes sense, an argMax method. How to do it? Use implicits?

© Stack Overflow or respective owner

Related posts about scala

Related posts about scala-2.8