{"action":"created","issue":{"url":"https://api.github.com/repos/kolmodin/binary/issues/81","labels_url":"https://api.github.com/repos/kolmodin/binary/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/kolmodin/binary/issues/81/comments","events_url":"https://api.github.com/repos/kolmodin/binary/issues/81/events","html_url":"https://github.com/kolmodin/binary/issues/81","id":97465993,"number":81,"title":"GHC-7.2 build failure","user":{"login":"bergmark","id":100681,"avatar_url":"https://avatars.githubusercontent.com/u/100681?v=3","gravatar_id":"","url":"https://api.github.com/users/bergmark","html_url":"https://github.com/bergmark","followers_url":"https://api.github.com/users/bergmark/followers","following_url":"https://api.github.com/users/bergmark/following{/other_user}","gists_url":"https://api.github.com/users/bergmark/gists{/gist_id}","starred_url":"https://api.github.com/users/bergmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergmark/subscriptions","organizations_url":"https://api.github.com/users/bergmark/orgs","repos_url":"https://api.github.com/users/bergmark/repos","events_url":"https://api.github.com/users/bergmark/events{/privacy}","received_events_url":"https://api.github.com/users/bergmark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-27T13:42:24Z","updated_at":"2015-07-29T09:06:37Z","closed_at":null,"body":"```\r\nsrc/Data/Binary/Put.hs:61:1:\r\n    bytestring-0.9.2.0:Data.ByteString can't be safely imported! The module itself isn't safe.\r\nxcabal: Error: some packages failed to install:\r\nbinary-0.7.6.0 failed during the building phase. The exception was:\r\nExitFailure 1\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/kolmodin/binary/issues/comments/125886901","html_url":"https://github.com/kolmodin/binary/issues/81#issuecomment-125886901","issue_url":"https://api.github.com/repos/kolmodin/binary/issues/81","id":125886901,"user":{"login":"kolmodin","id":157261,"avatar_url":"https://avatars.githubusercontent.com/u/157261?v=3","gravatar_id":"","url":"https://api.github.com/users/kolmodin","html_url":"https://github.com/kolmodin","followers_url":"https://api.github.com/users/kolmodin/followers","following_url":"https://api.github.com/users/kolmodin/following{/other_user}","gists_url":"https://api.github.com/users/kolmodin/gists{/gist_id}","starred_url":"https://api.github.com/users/kolmodin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolmodin/subscriptions","organizations_url":"https://api.github.com/users/kolmodin/orgs","repos_url":"https://api.github.com/users/kolmodin/repos","events_url":"https://api.github.com/users/kolmodin/events{/privacy}","received_events_url":"https://api.github.com/users/kolmodin/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T09:06:37Z","updated_at":"2015-07-29T09:06:37Z","body":"Looks like bytestring-0.9.2.0 doesn't provide the Safe Haskell pragmas.\r\n`Data.Binary.Put` has this Safe Haskell pragma.\r\n```hs\r\n#if __GLASGOW_HASKELL__ >= 701\r\n{-# LANGUAGE Safe #-}\r\n#endif\r\n```\r\nMaybe there are other modules that'd fail as well.\r\nNot sure what Safe Haskell guarantees we can provide if bytestring didn't set any pragmas, but yes, we can do better than failing. :)\r\n\r\nIf you'd like to do a PR that'd be great! Thanks!"}}