{"action":"opened","issue":{"url":"https://api.github.com/repos/haskell-foundation/foundation/issues/497","repository_url":"https://api.github.com/repos/haskell-foundation/foundation","labels_url":"https://api.github.com/repos/haskell-foundation/foundation/issues/497/labels{/name}","comments_url":"https://api.github.com/repos/haskell-foundation/foundation/issues/497/comments","events_url":"https://api.github.com/repos/haskell-foundation/foundation/issues/497/events","html_url":"https://github.com/haskell-foundation/foundation/issues/497","id":334466920,"node_id":"MDU6SXNzdWUzMzQ0NjY5MjA=","number":497,"title":"`Word256` subtraction uses ones' complement?","user":{"login":"aherrmann","id":732652,"node_id":"MDQ6VXNlcjczMjY1Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/732652?v=4","gravatar_id":"","url":"https://api.github.com/users/aherrmann","html_url":"https://github.com/aherrmann","followers_url":"https://api.github.com/users/aherrmann/followers","following_url":"https://api.github.com/users/aherrmann/following{/other_user}","gists_url":"https://api.github.com/users/aherrmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aherrmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aherrmann/subscriptions","organizations_url":"https://api.github.com/users/aherrmann/orgs","repos_url":"https://api.github.com/users/aherrmann/repos","events_url":"https://api.github.com/users/aherrmann/events{/privacy}","received_events_url":"https://api.github.com/users/aherrmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T12:16:49Z","updated_at":"2018-06-21T12:16:49Z","closed_at":null,"author_association":"NONE","body":"Subtraction on `Word256` seems to be using ones' complement instead of two's complement:\r\n```\r\n>>> 0 - 1 :: Word256\r\n115792089237316195423570985008687907853269984665640564039457584007913129639934\r\n>>> complement 0 :: Word256\r\n115792089237316195423570985008687907853269984665640564039457584007913129639935\r\n```\r\nNote, how the outcome of `0 - 1` is one smaller than `complement 0`.\r\n\r\nIs that intentional? "}}
{"actor":{"display_login":"aherrmann"}}