Last active
April 1, 2020 22:21
-
-
Save penryu/74940cdf49abfaf5b432924378821c51 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
import java.util.List; | |
public class Util { | |
public static void f(List<Double> x) { } | |
public static void f(List<Long> x) { } | |
} | |
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
object Util { | |
def f(x: List[Int]) = x | |
def f(x: List[Double]) = x | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment