is there anything like this already?
Feb. 13th, 2013 11:26 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
implicit def f2tof1[X,Y,Z](f2: Function2[X,Y,Z]) = (xy:(X,Y)) => f2(xy._1, xy._2)
Update:
f2.tupled
implicit def f2tof1[X,Y,Z](f2: Function2[X,Y,Z]) = (xy:(X,Y)) => f2(xy._1, xy._2)
f2.tupled