{"action":"created","issue":{"url":"https://api.github.com/repos/typelift/SwiftCheck/issues/139","labels_url":"https://api.github.com/repos/typelift/SwiftCheck/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/typelift/SwiftCheck/issues/139/comments","events_url":"https://api.github.com/repos/typelift/SwiftCheck/issues/139/events","html_url":"https://github.com/typelift/SwiftCheck/issues/139","id":124242635,"number":139,"title":"What's the impact of SE-0002 (Removing currying `func` declaration syntax)?","user":{"login":"kykim","id":7351,"avatar_url":"https://avatars.githubusercontent.com/u/7351?v=3","gravatar_id":"","url":"https://api.github.com/users/kykim","html_url":"https://github.com/kykim","followers_url":"https://api.github.com/users/kykim/followers","following_url":"https://api.github.com/users/kykim/following{/other_user}","gists_url":"https://api.github.com/users/kykim/gists{/gist_id}","starred_url":"https://api.github.com/users/kykim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kykim/subscriptions","organizations_url":"https://api.github.com/users/kykim/orgs","repos_url":"https://api.github.com/users/kykim/repos","events_url":"https://api.github.com/users/kykim/events{/privacy}","received_events_url":"https://api.github.com/users/kykim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/typelift/SwiftCheck/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T17:31:50Z","updated_at":"2015-12-30T20:22:52Z","closed_at":null,"body":"https://github.com/apple/swift-evolution/blob/master/proposals/0002-remove-currying.md\r\nI'm assuming this will be implemented in Swift 3.\r\n\r\nJust curious if this has any impact at all.\r\nLooking at the `Tutorial.xcplayground`, I'm guessing this function:\r\n```\r\n// Concatenates 5 strings together in order.\r\nfunc glue5(l : String)(m : String)(m2 : String)(m3 : String)(r : String) -> String {\r\n\treturn l + m + m2 + m3 + r\r\n}\r\n```\r\nwould need to be altered to something like this (?):\r\n```\r\nfunc glue5a(l: String) -> (String) -> (String) -> (String) -> (String) -> String {\r\n    return { (m: String) -> (String) -> (String) -> (String) -> String in\r\n            { (m2: String) -> (String) -> (String) -> String in\r\n                { (m3: String) -> (String) -> String in\r\n                    { (r: String) -> String in\r\n                        return l + m + m2 + m3 + r\r\n                    }\r\n                }\r\n            }\r\n    }\r\n}\r\n```\r\nUgh."},"comment":{"url":"https://api.github.com/repos/typelift/SwiftCheck/issues/comments/168068063","html_url":"https://github.com/typelift/SwiftCheck/issues/139#issuecomment-168068063","issue_url":"https://api.github.com/repos/typelift/SwiftCheck/issues/139","id":168068063,"user":{"login":"mpurland","id":113033,"avatar_url":"https://avatars.githubusercontent.com/u/113033?v=3","gravatar_id":"","url":"https://api.github.com/users/mpurland","html_url":"https://github.com/mpurland","followers_url":"https://api.github.com/users/mpurland/followers","following_url":"https://api.github.com/users/mpurland/following{/other_user}","gists_url":"https://api.github.com/users/mpurland/gists{/gist_id}","starred_url":"https://api.github.com/users/mpurland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpurland/subscriptions","organizations_url":"https://api.github.com/users/mpurland/orgs","repos_url":"https://api.github.com/users/mpurland/repos","events_url":"https://api.github.com/users/mpurland/events{/privacy}","received_events_url":"https://api.github.com/users/mpurland/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T20:22:52Z","updated_at":"2015-12-30T20:22:52Z","body":"With function currying syntax being removed I hope optimizations around manual function currying with closures is added."}}