{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/1186","repository_url":"https://api.github.com/repos/haskell/haskell-mode","labels_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1186/comments","events_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1186/events","html_url":"https://github.com/haskell/haskell-mode/issues/1186","id":138016689,"number":1186,"title":"Incorrect indentation for 'let' inside list comprehension","user":{"login":"johnw42","id":201923,"avatar_url":"https://avatars.githubusercontent.com/u/201923?v=3","gravatar_id":"","url":"https://api.github.com/users/johnw42","html_url":"https://github.com/johnw42","followers_url":"https://api.github.com/users/johnw42/followers","following_url":"https://api.github.com/users/johnw42/following{/other_user}","gists_url":"https://api.github.com/users/johnw42/gists{/gist_id}","starred_url":"https://api.github.com/users/johnw42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnw42/subscriptions","organizations_url":"https://api.github.com/users/johnw42/orgs","repos_url":"https://api.github.com/users/johnw42/repos","events_url":"https://api.github.com/users/johnw42/events{/privacy}","received_events_url":"https://api.github.com/users/johnw42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-02T22:46:24Z","updated_at":"2016-03-04T17:11:15Z","closed_at":null,"body":"Using haskell-indentation mode, I only get the indentation option marked \"2\" in the example below.\r\n\r\n    foo = [undefined |\r\n           let _ = undefined,\r\n           1       2\r\n\r\nI believe 1 is the only correct indentation, because of the comma after the 'let' clause. If I go ahead and continue the code like this...\r\n\r\n    foo = [undefined |\r\n           let _ = undefined,\r\n           _ <- undefined,\r\n\r\n...then I get the error \"Illegal token: value\" when I try to indent or insert a new line.\r\n"},"comment":{"url":"https://api.github.com/repos/haskell/haskell-mode/issues/comments/192362227","html_url":"https://github.com/haskell/haskell-mode/issues/1186#issuecomment-192362227","issue_url":"https://api.github.com/repos/haskell/haskell-mode/issues/1186","id":192362227,"user":{"login":"fice-t","id":13156601,"avatar_url":"https://avatars.githubusercontent.com/u/13156601?v=3","gravatar_id":"","url":"https://api.github.com/users/fice-t","html_url":"https://github.com/fice-t","followers_url":"https://api.github.com/users/fice-t/followers","following_url":"https://api.github.com/users/fice-t/following{/other_user}","gists_url":"https://api.github.com/users/fice-t/gists{/gist_id}","starred_url":"https://api.github.com/users/fice-t/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fice-t/subscriptions","organizations_url":"https://api.github.com/users/fice-t/orgs","repos_url":"https://api.github.com/users/fice-t/repos","events_url":"https://api.github.com/users/fice-t/events{/privacy}","received_events_url":"https://api.github.com/users/fice-t/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T17:11:15Z","updated_at":"2016-03-04T17:11:15Z","body":"I'd say to leave it open as the main problem still stands -- it's not indenting correctly."}}