List ProductByFoldRight
摘要:
object ProductFolderRight { def product(ld: List[Double]): Double = { def loop(ls: List[Double], acc: Double): Double = ls match { case Nil => acc case 0.0 :: t => 0... 阅读全文
posted @ 2016-04-19 21:21
JonkeyGuan
阅读(80)
评论(0)
推荐(0)
浙公网安备 33010602011771号