{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdone/hindent/issues/56","labels_url":"https://api.github.com/repos/chrisdone/hindent/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/hindent/issues/56/comments","events_url":"https://api.github.com/repos/chrisdone/hindent/issues/56/events","html_url":"https://github.com/chrisdone/hindent/issues/56","id":53580628,"number":56,"title":"Consider (eventually) migrating to GHC API instead of HSE","user":{"login":"gibiansky","id":1865411,"avatar_url":"https://avatars.githubusercontent.com/u/1865411?v=3","gravatar_id":"","url":"https://api.github.com/users/gibiansky","html_url":"https://github.com/gibiansky","followers_url":"https://api.github.com/users/gibiansky/followers","following_url":"https://api.github.com/users/gibiansky/following{/other_user}","gists_url":"https://api.github.com/users/gibiansky/gists{/gist_id}","starred_url":"https://api.github.com/users/gibiansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gibiansky/subscriptions","organizations_url":"https://api.github.com/users/gibiansky/orgs","repos_url":"https://api.github.com/users/gibiansky/repos","events_url":"https://api.github.com/users/gibiansky/events{/privacy}","received_events_url":"https://api.github.com/users/gibiansky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-07T00:08:30Z","updated_at":"2015-01-07T00:30:17Z","closed_at":null,"body":"It looks like with Alan's work in GHC 7.10, the API annotations are able to round-trip from source back to source without changing any formatting (besides trailing whitespace). This is pretty cool, and better than we can do with HSE right now. Perhaps it makes sense to consider eventually migrating to the GHC API, once GHC 7.10 is out and in common use?"},"comment":{"url":"https://api.github.com/repos/chrisdone/hindent/issues/comments/68960162","html_url":"https://github.com/chrisdone/hindent/issues/56#issuecomment-68960162","issue_url":"https://api.github.com/repos/chrisdone/hindent/issues/56","id":68960162,"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-01-07T00:30:17Z","updated_at":"2015-01-07T00:30:17Z","body":"We're not using source locations for anything… But yeah, parsing anything GHC supports would be handy. I believe Alan removed the landmines from the AST, which is useful to make the GHC AST usable once 7.10 is common-place."}}