{"action":"closed","issue":{"url":"https://api.github.com/repos/thoughtbot/Runes/issues/69","repository_url":"https://api.github.com/repos/thoughtbot/Runes","labels_url":"https://api.github.com/repos/thoughtbot/Runes/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/Runes/issues/69/comments","events_url":"https://api.github.com/repos/thoughtbot/Runes/issues/69/events","html_url":"https://github.com/thoughtbot/Runes/issues/69","id":145214613,"number":69,"title":"Curried functions to be removed in a later version of Swift","user":{"login":"asowers1","id":6819186,"avatar_url":"https://avatars.githubusercontent.com/u/6819186?v=3","gravatar_id":"","url":"https://api.github.com/users/asowers1","html_url":"https://github.com/asowers1","followers_url":"https://api.github.com/users/asowers1/followers","following_url":"https://api.github.com/users/asowers1/following{/other_user}","gists_url":"https://api.github.com/users/asowers1/gists{/gist_id}","starred_url":"https://api.github.com/users/asowers1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asowers1/subscriptions","organizations_url":"https://api.github.com/users/asowers1/orgs","repos_url":"https://api.github.com/users/asowers1/repos","events_url":"https://api.github.com/users/asowers1/events{/privacy}","received_events_url":"https://api.github.com/users/asowers1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T15:48:30Z","updated_at":"2016-04-01T15:49:17Z","closed_at":"2016-04-01T15:49:17Z","body":"Greetings.\r\n\r\nPresently, I'm implementing Runes like so in my app:\r\n```\r\nimport Argo\r\nimport Runes\r\n\r\npublic struct Product {\r\n    public let name: String\r\n    public let price: NSDecimalNumber\r\n    public let code: String\r\n    public let balanceIncrease: Double?\r\n    public let discount: NSDecimalNumber?\r\n\r\n    public init(name: String, price: NSDecimalNumber, code: String, balanceIncrease: Double?, discount: NSDecimalNumber?) {\r\n        self.name = name\r\n        self.price = price\r\n        self.code = code\r\n        self.balanceIncrease = balanceIncrease\r\n        self.discount = discount\r\n    }\r\n}\r\n\r\nextension Product: Decodable {\r\n    private static func create(name: String)(price: NSDecimalNumber)(code: String)(balanceIncrease: Double?)(discount: NSDecimalNumber?) -> Product {\r\n        return Product(name: name, price: price, code: code, balanceIncrease: balanceIncrease, discount: discount)\r\n    }\r\n\r\n    public static func decode(json: JSON) -> Decoded<Product> {\r\n        return Product.create\r\n            <^> json <| \"name\"\r\n            <*> json <| \"price\"\r\n            <*> json <| \"code\"\r\n            <*> json <|? \"balance_increase\"\r\n            <*> json <|? \"discount\"\r\n    }\r\n}\r\n\r\nextension Product: Equatable { }\r\npublic func ==(lhs: Product, rhs: Product) -> Bool {\r\n    return lhs.name == rhs.name && lhs.price == rhs.price && lhs.code == rhs.code && lhs.balanceIncrease == rhs.balanceIncrease\r\n}\r\n\r\nextension Product: CustomStringConvertible {\r\n    public var description: String {\r\n        return \"Product <name: \\(self.name), price: \\(self.price), code: \\(code), balanceIncrease: \\(balanceIncrease)>\"\r\n    }\r\n}\r\n```\r\n\r\nBut in `extension Product: Decodable` I am making use of curried functions to achieve what I need. Apparently curried syntax is being removed, so going forward, would you have any suggestions on how I would achieve similar results without curried syntax?"}}