{"action":"created","comment":{"url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/comments/36581349","id":36581349,"diff_hunk":"@@ -45,3 +45,40 @@ extension MultiplicationExpressionResult: ExpressionResultType {\n     }\n     \n }\n+\n+// MARK: - CustomDebugStringConvertible\n+\n+extension MultiplicationExpressionResult: CustomDebugStringConvertible {\n+    \n+    public var debugDescription: String {\n+        get {\n+            let multiplierResultDebugString = String(reflecting: multiplierResult)\n+            let multiplicandDebugStrings = multiplicandResults.map { String(reflecting: $0) }\n+            let multiplicandResultsDebugDescription = \" + \".join(multiplicandDebugStrings)\n+            if negateMultiplicandResults {\n+                return \"((\\(multiplierResultDebugString)) *> -(\\(multiplicandResultsDebugDescription)))\"\n+            } else {\n+                return \"((\\(multiplierResultDebugString)) *> (\\(multiplicandResultsDebugDescription)))\"\n+            }\n+        }\n+    }\n+    \n+}\n+\n+// MARK: - CustomStringConvertible\n+\n+extension MultiplicationExpressionResult: CustomStringConvertible {\n+    \n+    public var description: String {\n+        get {\n+            let multiplicandStrings = multiplicandResults.map { String($0) }\n+            let multiplicandResultsDescription = \" + \".join(multiplicandStrings)\n+            if negateMultiplicandResults {\n+                return \"((\\(multiplierResult)) *> -(\\(multiplicandResultsDescription)))\"","path":"DiceKit/MultiplicationExpressionResult.swift","position":33,"original_position":33,"commit_id":"b184aa715f556cf93c43902950c772474a2bb9e3","original_commit_id":"b184aa715f556cf93c43902950c772474a2bb9e3","user":{"login":"brentleyjones","id":158658,"avatar_url":"https://avatars.githubusercontent.com/u/158658?v=3","gravatar_id":"","url":"https://api.github.com/users/brentleyjones","html_url":"https://github.com/brentleyjones","followers_url":"https://api.github.com/users/brentleyjones/followers","following_url":"https://api.github.com/users/brentleyjones/following{/other_user}","gists_url":"https://api.github.com/users/brentleyjones/gists{/gist_id}","starred_url":"https://api.github.com/users/brentleyjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentleyjones/subscriptions","organizations_url":"https://api.github.com/users/brentleyjones/orgs","repos_url":"https://api.github.com/users/brentleyjones/repos","events_url":"https://api.github.com/users/brentleyjones/events{/privacy}","received_events_url":"https://api.github.com/users/brentleyjones/received_events","type":"User","site_admin":false},"body":"Same `sign` comment.","created_at":"2015-08-08T20:13:08Z","updated_at":"2015-08-08T20:13:08Z","html_url":"https://github.com/TabletopAssistant/DiceKit/pull/55#discussion_r36581349","pull_request_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/comments/36581349"},"html":{"href":"https://github.com/TabletopAssistant/DiceKit/pull/55#discussion_r36581349"},"pull_request":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55","id":41301073,"html_url":"https://github.com/TabletopAssistant/DiceKit/pull/55","diff_url":"https://github.com/TabletopAssistant/DiceKit/pull/55.diff","patch_url":"https://github.com/TabletopAssistant/DiceKit/pull/55.patch","issue_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/55","number":55,"state":"open","locked":false,"title":"[WIP] Add CustomDebugStringConvertible and CustomStringConvertible conformance","user":{"login":"JonathanHoffman","id":8194897,"avatar_url":"https://avatars.githubusercontent.com/u/8194897?v=3","gravatar_id":"","url":"https://api.github.com/users/JonathanHoffman","html_url":"https://github.com/JonathanHoffman","followers_url":"https://api.github.com/users/JonathanHoffman/followers","following_url":"https://api.github.com/users/JonathanHoffman/following{/other_user}","gists_url":"https://api.github.com/users/JonathanHoffman/gists{/gist_id}","starred_url":"https://api.github.com/users/JonathanHoffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonathanHoffman/subscriptions","organizations_url":"https://api.github.com/users/JonathanHoffman/orgs","repos_url":"https://api.github.com/users/JonathanHoffman/repos","events_url":"https://api.github.com/users/JonathanHoffman/events{/privacy}","received_events_url":"https://api.github.com/users/JonathanHoffman/received_events","type":"User","site_admin":false},"body":"Progress! \r\n\r\nTODO: \r\n* [x] implement `CustomStringConvertible` and `CustomDebugStringConvertible` to the Expression types.\r\n* [ ] write a playground page exploring these types, their strings, and their developer friendliness. (what would you like to see in such a page?) \r\n\r\nCloses #50 ","created_at":"2015-07-31T02:05:46Z","updated_at":"2015-08-08T20:13:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0d9272f150d5c34089364782e33b40fc82e77e5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55/commits","review_comments_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55/comments","review_comment_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/55/comments","statuses_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/statuses/b184aa715f556cf93c43902950c772474a2bb9e3","head":{"label":"TabletopAssistant:task/AddCustomDebugStringConvertibleConformance","ref":"task/AddCustomDebugStringConvertibleConformance","sha":"b184aa715f556cf93c43902950c772474a2bb9e3","user":{"login":"TabletopAssistant","id":13296205,"avatar_url":"https://avatars.githubusercontent.com/u/13296205?v=3","gravatar_id":"","url":"https://api.github.com/users/TabletopAssistant","html_url":"https://github.com/TabletopAssistant","followers_url":"https://api.github.com/users/TabletopAssistant/followers","following_url":"https://api.github.com/users/TabletopAssistant/following{/other_user}","gists_url":"https://api.github.com/users/TabletopAssistant/gists{/gist_id}","starred_url":"https://api.github.com/users/TabletopAssistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TabletopAssistant/subscriptions","organizations_url":"https://api.github.com/users/TabletopAssistant/orgs","repos_url":"https://api.github.com/users/TabletopAssistant/repos","events_url":"https://api.github.com/users/TabletopAssistant/events{/privacy}","received_events_url":"https://api.github.com/users/TabletopAssistant/received_events","type":"Organization","site_admin":false},"repo":{"id":38964908,"name":"DiceKit","full_name":"TabletopAssistant/DiceKit","owner":{"login":"TabletopAssistant","id":13296205,"avatar_url":"https://avatars.githubusercontent.com/u/13296205?v=3","gravatar_id":"","url":"https://api.github.com/users/TabletopAssistant","html_url":"https://github.com/TabletopAssistant","followers_url":"https://api.github.com/users/TabletopAssistant/followers","following_url":"https://api.github.com/users/TabletopAssistant/following{/other_user}","gists_url":"https://api.github.com/users/TabletopAssistant/gists{/gist_id}","starred_url":"https://api.github.com/users/TabletopAssistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TabletopAssistant/subscriptions","organizations_url":"https://api.github.com/users/TabletopAssistant/orgs","repos_url":"https://api.github.com/users/TabletopAssistant/repos","events_url":"https://api.github.com/users/TabletopAssistant/events{/privacy}","received_events_url":"https://api.github.com/users/TabletopAssistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TabletopAssistant/DiceKit","description":"Swift framework for expressing and evaluating dice notation (e.g., d20, 4d6+4, 3d8×10+2), which is commonly used in tabletop role-playing games","fork":false,"url":"https://api.github.com/repos/TabletopAssistant/DiceKit","forks_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/forks","keys_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/teams","hooks_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/hooks","issue_events_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/events{/number}","events_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/events","assignees_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/assignees{/user}","branches_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/branches{/branch}","tags_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/tags","blobs_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/statuses/{sha}","languages_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/languages","stargazers_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/stargazers","contributors_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/contributors","subscribers_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/subscribers","subscription_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/subscription","commits_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/contents/{+path}","compare_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/merges","archive_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/downloads","issues_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues{/number}","pulls_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls{/number}","milestones_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/milestones{/number}","notifications_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/labels{/name}","releases_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/releases{/id}","created_at":"2015-07-12T14:34:33Z","updated_at":"2015-08-03T18:44:36Z","pushed_at":"2015-08-08T19:44:58Z","git_url":"git://github.com/TabletopAssistant/DiceKit.git","ssh_url":"git@github.com:TabletopAssistant/DiceKit.git","clone_url":"https://github.com/TabletopAssistant/DiceKit.git","svn_url":"https://github.com/TabletopAssistant/DiceKit","homepage":"","size":1016,"stargazers_count":7,"watchers_count":7,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":7,"default_branch":"master"}},"base":{"label":"TabletopAssistant:master","ref":"master","sha":"3898482c771384a860d03e75b37f5af8dbdef04a","user":{"login":"TabletopAssistant","id":13296205,"avatar_url":"https://avatars.githubusercontent.com/u/13296205?v=3","gravatar_id":"","url":"https://api.github.com/users/TabletopAssistant","html_url":"https://github.com/TabletopAssistant","followers_url":"https://api.github.com/users/TabletopAssistant/followers","following_url":"https://api.github.com/users/TabletopAssistant/following{/other_user}","gists_url":"https://api.github.com/users/TabletopAssistant/gists{/gist_id}","starred_url":"https://api.github.com/users/TabletopAssistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TabletopAssistant/subscriptions","organizations_url":"https://api.github.com/users/TabletopAssistant/orgs","repos_url":"https://api.github.com/users/TabletopAssistant/repos","events_url":"https://api.github.com/users/TabletopAssistant/events{/privacy}","received_events_url":"https://api.github.com/users/TabletopAssistant/received_events","type":"Organization","site_admin":false},"repo":{"id":38964908,"name":"DiceKit","full_name":"TabletopAssistant/DiceKit","owner":{"login":"TabletopAssistant","id":13296205,"avatar_url":"https://avatars.githubusercontent.com/u/13296205?v=3","gravatar_id":"","url":"https://api.github.com/users/TabletopAssistant","html_url":"https://github.com/TabletopAssistant","followers_url":"https://api.github.com/users/TabletopAssistant/followers","following_url":"https://api.github.com/users/TabletopAssistant/following{/other_user}","gists_url":"https://api.github.com/users/TabletopAssistant/gists{/gist_id}","starred_url":"https://api.github.com/users/TabletopAssistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TabletopAssistant/subscriptions","organizations_url":"https://api.github.com/users/TabletopAssistant/orgs","repos_url":"https://api.github.com/users/TabletopAssistant/repos","events_url":"https://api.github.com/users/TabletopAssistant/events{/privacy}","received_events_url":"https://api.github.com/users/TabletopAssistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TabletopAssistant/DiceKit","description":"Swift framework for expressing and evaluating dice notation (e.g., d20, 4d6+4, 3d8×10+2), which is commonly used in tabletop role-playing games","fork":false,"url":"https://api.github.com/repos/TabletopAssistant/DiceKit","forks_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/forks","keys_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/teams","hooks_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/hooks","issue_events_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/events{/number}","events_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/events","assignees_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/assignees{/user}","branches_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/branches{/branch}","tags_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/tags","blobs_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/refs{/sha}","trees_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/statuses/{sha}","languages_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/languages","stargazers_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/stargazers","contributors_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/contributors","subscribers_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/subscribers","subscription_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/subscription","commits_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/commits{/sha}","git_commits_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/git/commits{/sha}","comments_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/comments{/number}","issue_comment_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/comments{/number}","contents_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/contents/{+path}","compare_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/merges","archive_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/downloads","issues_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues{/number}","pulls_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls{/number}","milestones_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/milestones{/number}","notifications_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/labels{/name}","releases_url":"https://api.github.com/repos/TabletopAssistant/DiceKit/releases{/id}","created_at":"2015-07-12T14:34:33Z","updated_at":"2015-08-03T18:44:36Z","pushed_at":"2015-08-08T19:44:58Z","git_url":"git://github.com/TabletopAssistant/DiceKit.git","ssh_url":"git@github.com:TabletopAssistant/DiceKit.git","clone_url":"https://github.com/TabletopAssistant/DiceKit.git","svn_url":"https://github.com/TabletopAssistant/DiceKit","homepage":"","size":1016,"stargazers_count":7,"watchers_count":7,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":18,"forks":0,"open_issues":18,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55"},"html":{"href":"https://github.com/TabletopAssistant/DiceKit/pull/55"},"issue":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/55"},"comments":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/TabletopAssistant/DiceKit/statuses/b184aa715f556cf93c43902950c772474a2bb9e3"}}}}