📅  最后修改于: 2022-03-11 14:59:55.153000             🧑  作者: Mango
代码示例1
val sum: (Int, Int) => Int = (x, y) => x + y
val curriedSum: Int => Int => Int = x => y => x + y
curriedSum(1)(2) shouldBe 3