[swift-evolution] Currying/Partial Application

Jonathan Hull jhull at gbis.com
Wed Oct 5 19:50:35 CDT 2016


Erica’s thread on currying made me remember a (very) early discussion on the topic where currying was being removed temporarily in hopes that partial application could be added back in later with better syntax.

I would really like to be able to do the following:

	let partial = myFunc(a: 5, b: _, c: 7)
	let ans = partial(b: 6)

Thanks,
Jon


More information about the swift-evolution mailing list