scala tuple unpacking

It’s a two step procedure. First turn foo into a function, then call tupled on it to make it a function of a tuple.

(foo _).tupled(getParams)

Leave a Comment