1

暗黙のパラメーターを持つ関数は次のとおりです。

def maxF(暗黙の i1: Int、暗黙の i2: Int) = i1 + i2

部分適用機能の取得maxF _方法 と書くval f = maxF _と文句を言うerror: could not find implicit value for parameter i1: Int

何か提案はありますか?

4

0 に答える 0