Partial Apply Function in Swift

Originator:kykimnyc
Number:rdar://17237911 Date Originated:2014-06-09
Status:Open Resolved:No
Product:Developer Tools Product Version:6.0 (6A215l)
Classification:New Feature Reproducible:
 
Summary:
Given a function in swift:
    func f(a: A, b: B) -> c: C { ... }

Define a function 'papply' such that
    papply( f: ((A,B) -> C), x: A) -> ((B) -> C)

Steps to Reproduce:
Not sure

Expected Results:


Actual Results:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!