{"action":"closed","issue":{"url":"https://api.github.com/repos/surdus/htesseract-ocr/issues/1","labels_url":"https://api.github.com/repos/surdus/htesseract-ocr/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/surdus/htesseract-ocr/issues/1/comments","events_url":"https://api.github.com/repos/surdus/htesseract-ocr/issues/1/events","html_url":"https://github.com/surdus/htesseract-ocr/issues/1","id":82467650,"number":1,"title":"How to install this library in GHC 7.10.1?","user":{"login":"jacquerie","id":381280,"avatar_url":"https://avatars.githubusercontent.com/u/381280?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquerie","html_url":"https://github.com/jacquerie","followers_url":"https://api.github.com/users/jacquerie/followers","following_url":"https://api.github.com/users/jacquerie/following{/other_user}","gists_url":"https://api.github.com/users/jacquerie/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquerie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquerie/subscriptions","organizations_url":"https://api.github.com/users/jacquerie/orgs","repos_url":"https://api.github.com/users/jacquerie/repos","events_url":"https://api.github.com/users/jacquerie/events{/privacy}","received_events_url":"https://api.github.com/users/jacquerie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T15:15:12Z","updated_at":"2015-06-05T15:22:37Z","closed_at":"2015-06-05T15:22:37Z","body":"Hi! Haskell beginner here.\r\n\r\nI'm trying to install this library in a cabal sanbox using GHC 7.10.1 (on Mac OS X, if that makes any difference). Unfortunately the requirements for `base` and `text` were too strict, so I deleted those. Now I get an error I can't really decipher:\r\n```\r\nhtesseract-ocr master % cabal install\r\nResolving dependencies...\r\nNotice: installing into a sandbox located at\r\n/Users/jacquerie/Code/htesseract-ocr/.cabal-sandbox\r\nConfiguring text-1.2.1.1...\r\nBuilding text-1.2.1.1...\r\nInstalled text-1.2.1.1\r\nConfiguring htesseract-ocr-0.0.1.0...\r\nBuilding htesseract-ocr-0.0.1.0...\r\nFailed to install htesseract-ocr-0.0.1.0\r\nBuild log ( /Users/jacquerie/Code/htesseract-ocr/.cabal-sandbox/logs/htesseract-ocr-0.0.1.0.log ):\r\nConfiguring htesseract-ocr-0.0.1.0...\r\nBuilding htesseract-ocr-0.0.1.0...\r\nPreprocessing library htesseract-ocr-0.0.1.0...\r\n[3 of 3] Compiling Text.OCR.Tesseract ( src/Text/OCR/Tesseract.hs, dist/dist-sandbox-5a14d7a9/build/Text/OCR/Tesseract.o )\r\n\r\nsrc/Text/OCR/Tesseract.hs:39:10:\r\n    Could not deduce (Applicative (StateM state m))\r\n      arising from the superclasses of an instance declaration\r\n    from the context (Monad m)\r\n      bound by the instance declaration\r\n      at src/Text/OCR/Tesseract.hs:39:10-42\r\n    In the instance declaration for ‘Monad (StateM state m)’\r\ncabal: Error: some packages failed to install:\r\nhtesseract-ocr-0.0.1.0 failed during the building phase. The exception was:\r\nExitFailure 1\r\n```\r\n\r\nI'm guessing that something has to change in this library's code to make it work in a newer GHC, but I have no idea what."}}