🌈 搜索
📅  最后修改于: 2022-03-11 14:58:09.341000             🧑  作者: Mango
def adjust[A, B](m: Map[A, B], k: A)(f: B => B) = m.updated(k, f(m(k)))