Created
January 19, 2019 14:35
-
-
Save dorsev/169b11d232f28f43d41b997bf2eeeae2 to your computer and use it in GitHub Desktop.
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
def min[B >: A](implicit cmp: Ordering[B]): A = { | |
if (isEmpty) | |
throw new UnsupportedOperationException("empty.min") | |
//.. does not really matter | |
} | |
def reduceLeft.... = //see TraversableOnce.scala code for mroe info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment