{"action":"created","issue":{"url":"https://api.github.com/repos/acw/bytestring-progress/issues/8","repository_url":"https://api.github.com/repos/acw/bytestring-progress","labels_url":"https://api.github.com/repos/acw/bytestring-progress/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/acw/bytestring-progress/issues/8/comments","events_url":"https://api.github.com/repos/acw/bytestring-progress/issues/8/events","html_url":"https://github.com/acw/bytestring-progress/issues/8","id":302638018,"number":8,"title":"updateProgressBar arguments and System.ProgressBar.State.Progress type conflict","user":{"login":"privong","id":1630295,"avatar_url":"https://avatars0.githubusercontent.com/u/1630295?v=4","gravatar_id":"","url":"https://api.github.com/users/privong","html_url":"https://github.com/privong","followers_url":"https://api.github.com/users/privong/followers","following_url":"https://api.github.com/users/privong/following{/other_user}","gists_url":"https://api.github.com/users/privong/gists{/gist_id}","starred_url":"https://api.github.com/users/privong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privong/subscriptions","organizations_url":"https://api.github.com/users/privong/orgs","repos_url":"https://api.github.com/users/privong/repos","events_url":"https://api.github.com/users/privong/events{/privacy}","received_events_url":"https://api.github.com/users/privong/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-06T10:09:12Z","updated_at":"2018-03-08T09:12:34Z","closed_at":"2018-03-08T04:27:09Z","author_association":"NONE","body":"I am receiving the following build error while trying to install this package with `cabal-install`:\r\n\r\n```\r\n$ cabal install bytestring-progress\r\nResolving dependencies...\r\nConfiguring bytestring-progress-1.0.8...\r\nBuilding bytestring-progress-1.0.8...\r\nFailed to install bytestring-progress-1.0.8\r\nBuild log ( /home/george/.cabal/logs/ghc-8.2.2/bytestring-progress-1.0.8-4EygrPelU7JD7WuoH2mM3P.log ):\r\ncabal: Entering directory '/tmp/cabal-tmp-6187/bytestring-progress-1.0.8'\r\nConfiguring bytestring-progress-1.0.8...\r\nPreprocessing library for bytestring-progress-1.0.8..\r\nBuilding library for bytestring-progress-1.0.8..\r\n[1 of 2] Compiling Data.ByteString.Lazy.Progress ( Data/ByteString/Lazy/Progress.hs, dist/build/Data/ByteString/Lazy/Progress.dyn_o )\r\n[2 of 2] Compiling System.ProgressBar.ByteString ( System/ProgressBar/ByteString.hs, dist/build/System/ProgressBar/ByteString.dyn_o )\r\n\r\nSystem/ProgressBar/ByteString.hs:36:15: error:\r\n    • Couldn't match expected type ‘ℤ -> String’\r\n                  with actual type ‘[Char]’\r\n    • The function ‘updateProgressBar’ is applied to two arguments,\r\n      but its type ‘System.ProgressBar.State.Progress -> [Char]’\r\n      has only one\r\n      In the second argument of ‘($)’, namely\r\n        ‘updateProgressBar (fromIntegral now) size’\r\n      In the expression:\r\n        tracker $ updateProgressBar (fromIntegral now) size\r\n   |\r\n36 |     tracker $ updateProgressBar (fromIntegral now) size\r\n   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\ncabal: Leaving directory '/tmp/cabal-tmp-6187/bytestring-progress-1.0.8'\r\ncabal: Error: some packages failed to install:\r\nbytestring-progress-1.0.8-4EygrPelU7JD7WuoH2mM3P failed during the building\r\nphase. The exception was:\r\nExitFailure 1\r\n```\r\nI tried both versions 1.0.8 and 1.0.7 and received essentially the same error message.\r\n\r\nI have recently had some hiccups with general ghc compilations (due to the arch linux change to dynamic libraries); I think I have worked that out now, and this doesn't seem to be related. But I wanted to mention that just in case this compilation problem I am having is potentially an outside issue."},"comment":{"url":"https://api.github.com/repos/acw/bytestring-progress/issues/comments/371426732","html_url":"https://github.com/acw/bytestring-progress/issues/8#issuecomment-371426732","issue_url":"https://api.github.com/repos/acw/bytestring-progress/issues/8","id":371426732,"user":{"login":"privong","id":1630295,"avatar_url":"https://avatars0.githubusercontent.com/u/1630295?v=4","gravatar_id":"","url":"https://api.github.com/users/privong","html_url":"https://github.com/privong","followers_url":"https://api.github.com/users/privong/followers","following_url":"https://api.github.com/users/privong/following{/other_user}","gists_url":"https://api.github.com/users/privong/gists{/gist_id}","starred_url":"https://api.github.com/users/privong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privong/subscriptions","organizations_url":"https://api.github.com/users/privong/orgs","repos_url":"https://api.github.com/users/privong/repos","events_url":"https://api.github.com/users/privong/events{/privacy}","received_events_url":"https://api.github.com/users/privong/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T09:12:34Z","updated_at":"2018-03-08T09:12:34Z","author_association":"NONE","body":"It's compiling for me now, thanks!"}}
{"actor":{"display_login":"privong"}}