https://www.kingsware.de/2014/08/27/apple-swift-emulate-partial-fully-applied-functions/
Apple Swift: Emulate Partial Fully Applied Functions