@propensive I'm not sure maybe some issues when partially applying stuff. I'm always using `Function.tupled` explicitly.
Are there any nasty side-effects of defining this? implicit def app[A, B, C](fn: (A, B) => C): ((A, B)) => C = { case (a, b) => fn(a, b) }
-
-
-
@aloiscochard Ah, I didn't realise that was in the standard library! Makes a lot of sense to use it explicitly, just to be safe. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.