标签: scala types
假设我有这个功能:
def f(x:Long) = (x,x)
签名是:
f: (x: Long)(Long, Long)
我需要得到这个值:
(object scala.Long,object scala.Long)
可以手工制作:
val t = (Long, Long)
有没有办法以编程方式进行?