{"action":"created","issue":{"url":"https://api.github.com/repos/chrisdone/hindent/issues/21","labels_url":"https://api.github.com/repos/chrisdone/hindent/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/chrisdone/hindent/issues/21/comments","events_url":"https://api.github.com/repos/chrisdone/hindent/issues/21/events","html_url":"https://github.com/chrisdone/hindent/issues/21","id":47547813,"number":21,"title":"Tibell style creates invalid indentation in Emacs","user":{"login":"pharpend","id":3221699,"avatar_url":"https://avatars.githubusercontent.com/u/3221699?v=3","gravatar_id":"","url":"https://api.github.com/users/pharpend","html_url":"https://github.com/pharpend","followers_url":"https://api.github.com/users/pharpend/followers","following_url":"https://api.github.com/users/pharpend/following{/other_user}","gists_url":"https://api.github.com/users/pharpend/gists{/gist_id}","starred_url":"https://api.github.com/users/pharpend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pharpend/subscriptions","organizations_url":"https://api.github.com/users/pharpend/orgs","repos_url":"https://api.github.com/users/pharpend/repos","events_url":"https://api.github.com/users/pharpend/events{/privacy}","received_events_url":"https://api.github.com/users/pharpend/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrisdone/hindent/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/chrisdone/hindent/labels/tibbe","name":"tibbe","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-11-02T20:34:08Z","updated_at":"2015-02-04T19:39:08Z","closed_at":"2015-02-04T19:39:08Z","body":"Start with:\r\n\r\n```haskell\r\nprintLicense :: IO ()\r\nprintLicense = do\r\n    hSetBinaryMode stdout True\r\n    getDataFileName \"LICENSE\" >>= B.readFile >>= B.hPut stdout\r\n```\r\n\r\nGo anywhere in the function, run `M-x hindent/reformat-decl`,\r\n\r\nResult is\r\n\r\n```haskell\r\nprintLicense :: IO ()\r\nprintLicense = do\r\n    hSetBinaryMode stdout True\r\n    getDataFileName \"LICENSE\" >>=\r\n    B.readFile >>=\r\n    B.hPut stdout\r\n```\r\n\r\nWhich is not valid, with this error:\r\n\r\n```\r\n    parse error (possibly incorrect indentation or mismatched brackets)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/chrisdone/hindent/issues/comments/72923193","html_url":"https://github.com/chrisdone/hindent/issues/21#issuecomment-72923193","issue_url":"https://api.github.com/repos/chrisdone/hindent/issues/21","id":72923193,"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-02-04T19:39:08Z","updated_at":"2015-02-04T19:39:08Z","body":"Fixed."}}