{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/538","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/538/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/538/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/538/events","html_url":"https://github.com/haskell/haskell-mode/issues/538","id":63246360,"number":538,"title":"Integrate haskell-flycheck into haskell-mode","user":{"login":"LukeHoersten","id":743,"avatar_url":"https://avatars.githubusercontent.com/u/743?v=3","gravatar_id":"","url":"https://api.github.com/users/LukeHoersten","html_url":"https://github.com/LukeHoersten","followers_url":"https://api.github.com/users/LukeHoersten/followers","following_url":"https://api.github.com/users/LukeHoersten/following{/other_user}","gists_url":"https://api.github.com/users/LukeHoersten/gists{/gist_id}","starred_url":"https://api.github.com/users/LukeHoersten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukeHoersten/subscriptions","organizations_url":"https://api.github.com/users/LukeHoersten/orgs","repos_url":"https://api.github.com/users/LukeHoersten/repos","events_url":"https://api.github.com/users/LukeHoersten/events{/privacy}","received_events_url":"https://api.github.com/users/LukeHoersten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-03-20T15:16:01Z","updated_at":"2015-04-07T11:33:02Z","closed_at":null,"body":"[haskell-flycheck](https://github.com/chrisdone/haskell-flycheck/blob/master/haskell-flycheck.el) it's @chrisdone's [flycheck](http://flycheck.org) implementation that uses a `haskell-process` as the backend.\r\n\r\nFlycheck comes with a built-in [flycheck-haskell](https://github.com/flycheck/flycheck-haskell) that uses GHC. The Flycheck author, @lunaryorn, has the policy of not having Flycheck depend on external modes as it's untenable. Since `haskell-flycheck` is dependent on `haskell-process` within `haskell-mode` anyway, I think it makes sense to include @chrisdone's `haskell-flycheck` in this mode.\r\n\r\nI'd be open to making the code changes myself and submitting a PR but I'm not sure the best approach to integrating something like this, especially since it's conditional on the availability of Flycheck."},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/90515193","html_url":"https://github.com/haskell/haskell-mode/issues/538#issuecomment-90515193","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/538","id":90515193,"user":{"login":"chrisdone","id":11019,"avatar_url":"https://avatars.githubusercontent.com/u/11019?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisdone","html_url":"https://github.com/chrisdone","followers_url":"https://api.github.com/users/chrisdone/followers","following_url":"https://api.github.com/users/chrisdone/following{/other_user}","gists_url":"https://api.github.com/users/chrisdone/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisdone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisdone/subscriptions","organizations_url":"https://api.github.com/users/chrisdone/orgs","repos_url":"https://api.github.com/users/chrisdone/repos","events_url":"https://api.github.com/users/chrisdone/events{/privacy}","received_events_url":"https://api.github.com/users/chrisdone/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T11:33:02Z","updated_at":"2015-04-07T11:33:02Z","body":"To be clear, I wrote haskell-flycheck as an experiment, I'm not convinced it's a good idea, as it has subtle interactions with e.g. the REPL context. Although it seems to work.\r\n\r\nRelatedly, [ide-backend](https://github.com/fpco/ide-backend) being open sourced changes the situation. Perhaps in a month we'll have a flycheck checker for [ide-backend-client](https://github.com/chrisdone/ide-backend-client), so this discussion could be for naught. I don't know."}}