{"action":"closed","issue":{"url":"https://api.github.com/repos/mattt/Surge/issues/28","repository_url":"https://api.github.com/repos/mattt/Surge","labels_url":"https://api.github.com/repos/mattt/Surge/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mattt/Surge/issues/28/comments","events_url":"https://api.github.com/repos/mattt/Surge/issues/28/events","html_url":"https://github.com/mattt/Surge/issues/28","id":121871189,"number":28,"title":"Use contrained extensions to support either Double or Float","user":{"login":"rfdickerson","id":1310293,"avatar_url":"https://avatars.githubusercontent.com/u/1310293?v=3","gravatar_id":"","url":"https://api.github.com/users/rfdickerson","html_url":"https://github.com/rfdickerson","followers_url":"https://api.github.com/users/rfdickerson/followers","following_url":"https://api.github.com/users/rfdickerson/following{/other_user}","gists_url":"https://api.github.com/users/rfdickerson/gists{/gist_id}","starred_url":"https://api.github.com/users/rfdickerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfdickerson/subscriptions","organizations_url":"https://api.github.com/users/rfdickerson/orgs","repos_url":"https://api.github.com/users/rfdickerson/repos","events_url":"https://api.github.com/users/rfdickerson/events{/privacy}","received_events_url":"https://api.github.com/users/rfdickerson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mattt/Surge/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rfdickerson","id":1310293,"avatar_url":"https://avatars.githubusercontent.com/u/1310293?v=3","gravatar_id":"","url":"https://api.github.com/users/rfdickerson","html_url":"https://github.com/rfdickerson","followers_url":"https://api.github.com/users/rfdickerson/followers","following_url":"https://api.github.com/users/rfdickerson/following{/other_user}","gists_url":"https://api.github.com/users/rfdickerson/gists{/gist_id}","starred_url":"https://api.github.com/users/rfdickerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfdickerson/subscriptions","organizations_url":"https://api.github.com/users/rfdickerson/orgs","repos_url":"https://api.github.com/users/rfdickerson/repos","events_url":"https://api.github.com/users/rfdickerson/events{/privacy}","received_events_url":"https://api.github.com/users/rfdickerson/received_events","type":"User","site_admin":false},"assignees":[{"login":"rfdickerson","id":1310293,"avatar_url":"https://avatars.githubusercontent.com/u/1310293?v=3","gravatar_id":"","url":"https://api.github.com/users/rfdickerson","html_url":"https://github.com/rfdickerson","followers_url":"https://api.github.com/users/rfdickerson/followers","following_url":"https://api.github.com/users/rfdickerson/following{/other_user}","gists_url":"https://api.github.com/users/rfdickerson/gists{/gist_id}","starred_url":"https://api.github.com/users/rfdickerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfdickerson/subscriptions","organizations_url":"https://api.github.com/users/rfdickerson/orgs","repos_url":"https://api.github.com/users/rfdickerson/repos","events_url":"https://api.github.com/users/rfdickerson/events{/privacy}","received_events_url":"https://api.github.com/users/rfdickerson/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mattt/Surge/milestones/1","html_url":"https://github.com/mattt/Surge/milestones/Release%202.0","labels_url":"https://api.github.com/repos/mattt/Surge/milestones/1/labels","id":1457395,"number":1,"title":"Release 2.0","description":null,"creator":{"login":"rfdickerson","id":1310293,"avatar_url":"https://avatars.githubusercontent.com/u/1310293?v=3","gravatar_id":"","url":"https://api.github.com/users/rfdickerson","html_url":"https://github.com/rfdickerson","followers_url":"https://api.github.com/users/rfdickerson/followers","following_url":"https://api.github.com/users/rfdickerson/following{/other_user}","gists_url":"https://api.github.com/users/rfdickerson/gists{/gist_id}","starred_url":"https://api.github.com/users/rfdickerson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfdickerson/subscriptions","organizations_url":"https://api.github.com/users/rfdickerson/orgs","repos_url":"https://api.github.com/users/rfdickerson/repos","events_url":"https://api.github.com/users/rfdickerson/events{/privacy}","received_events_url":"https://api.github.com/users/rfdickerson/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2015-12-12T18:37:56Z","updated_at":"2016-09-20T01:02:11Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-12T18:37:34Z","updated_at":"2016-09-20T01:02:11Z","closed_at":"2016-09-20T01:02:11Z","body":"Using constrained extensions:\r\n\r\n```swift\r\n\textension CollectionType where Generator.Element == Double {\r\n    \t\tfunc sum() -> Double { … }\r\n\t}\r\n\r\n\tlet arrayOfDoubles: [Double] = [1.2, 2.3, 3.4]\r\n        arrayOfDoubles.sum()\r\n```\r\n"}}
{"actor":{"display_login":"rfdickerson"}}