{"action":"created","issue":{"url":"https://api.github.com/repos/ekmett/semigroups/issues/68","repository_url":"https://api.github.com/repos/ekmett/semigroups","labels_url":"https://api.github.com/repos/ekmett/semigroups/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/ekmett/semigroups/issues/68/comments","events_url":"https://api.github.com/repos/ekmett/semigroups/issues/68/events","html_url":"https://github.com/ekmett/semigroups/pull/68","id":159778698,"number":68,"title":"Ensure Semigroup instances for ByteString.Builder and ShortByteString are defined on older GHCs via bytestring-builder","user":{"login":"RyanGlScott","id":2364661,"avatar_url":"https://avatars.githubusercontent.com/u/2364661?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanGlScott","html_url":"https://github.com/RyanGlScott","followers_url":"https://api.github.com/users/RyanGlScott/followers","following_url":"https://api.github.com/users/RyanGlScott/following{/other_user}","gists_url":"https://api.github.com/users/RyanGlScott/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanGlScott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanGlScott/subscriptions","organizations_url":"https://api.github.com/users/RyanGlScott/orgs","repos_url":"https://api.github.com/users/RyanGlScott/repos","events_url":"https://api.github.com/users/RyanGlScott/events{/privacy}","received_events_url":"https://api.github.com/users/RyanGlScott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-11T15:29:51Z","updated_at":"2016-06-11T16:49:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ekmett/semigroups/pulls/68","html_url":"https://github.com/ekmett/semigroups/pull/68","diff_url":"https://github.com/ekmett/semigroups/pull/68.diff","patch_url":"https://github.com/ekmett/semigroups/pull/68.patch"},"body":"`semigroups` defines `Semigroup` instances for `ByteString.Builder` and `ShortByteString`, but only if `bytestring >= 0.10.4` is used. This means that you can't easily use these instances on GHC 7.6 and older, since they ship with an older version of `bytestring`. This is currently [causing problems](https://github.com/bos/aeson/pull/426#issuecomment-225370066) for `aeson` at the moment.\r\n\r\nTo remedy the situation, it's possibly to use the lightweight `bytestring-builder` compatibility package to ensure that these instances are always defined. I've set it up so that it only installs `bytestring-builder` if absolutely necessary (i.e., if an old GHC version is being used)."},"comment":{"url":"https://api.github.com/repos/ekmett/semigroups/issues/comments/225374182","html_url":"https://github.com/ekmett/semigroups/pull/68#issuecomment-225374182","issue_url":"https://api.github.com/repos/ekmett/semigroups/issues/68","id":225374182,"user":{"login":"RyanGlScott","id":2364661,"avatar_url":"https://avatars.githubusercontent.com/u/2364661?v=3","gravatar_id":"","url":"https://api.github.com/users/RyanGlScott","html_url":"https://github.com/RyanGlScott","followers_url":"https://api.github.com/users/RyanGlScott/followers","following_url":"https://api.github.com/users/RyanGlScott/following{/other_user}","gists_url":"https://api.github.com/users/RyanGlScott/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanGlScott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanGlScott/subscriptions","organizations_url":"https://api.github.com/users/RyanGlScott/orgs","repos_url":"https://api.github.com/users/RyanGlScott/repos","events_url":"https://api.github.com/users/RyanGlScott/events{/privacy}","received_events_url":"https://api.github.com/users/RyanGlScott/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T16:49:00Z","updated_at":"2016-06-11T16:49:00Z","body":"@lpsmith: `bytestring` *already* has a `Semigroup` instance for `Builder` (see [here](http://hackage.haskell.org/package/bytestring-0.10.8.1/docs/src/Data-ByteString-Builder-Internal.html#line-405)), since `Semigroup` was migrated to `base` in `base-4.9`/GHC 8."}}
{"actor":{"display_login":"RyanGlScott"}}