{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript/issues/1226","labels_url":"https://api.github.com/repos/purescript/purescript/issues/1226/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript/issues/1226/comments","events_url":"https://api.github.com/repos/purescript/purescript/issues/1226/events","html_url":"https://github.com/purescript/purescript/pull/1226","id":92923743,"number":1226,"title":"Simplify pretty printer for binders","user":{"login":"paf31","id":630306,"avatar_url":"https://avatars.githubusercontent.com/u/630306?v=3","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-03T19:11:04Z","updated_at":"2015-07-03T19:48:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/purescript/purescript/pulls/1226","html_url":"https://github.com/purescript/purescript/pull/1226","diff_url":"https://github.com/purescript/purescript/pull/1226.diff","patch_url":"https://github.com/purescript/purescript/pull/1226.patch"},"body":"This should make the errors in #1218 a bit nicer.\r\n\r\n@garyb @nicodelpiano Could you please review?"},"comment":{"url":"https://api.github.com/repos/purescript/purescript/issues/comments/118413286","html_url":"https://github.com/purescript/purescript/pull/1226#issuecomment-118413286","issue_url":"https://api.github.com/repos/purescript/purescript/issues/1226","id":118413286,"user":{"login":"nicodelpiano","id":5914822,"avatar_url":"https://avatars.githubusercontent.com/u/5914822?v=3","gravatar_id":"","url":"https://api.github.com/users/nicodelpiano","html_url":"https://github.com/nicodelpiano","followers_url":"https://api.github.com/users/nicodelpiano/followers","following_url":"https://api.github.com/users/nicodelpiano/following{/other_user}","gists_url":"https://api.github.com/users/nicodelpiano/gists{/gist_id}","starred_url":"https://api.github.com/users/nicodelpiano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicodelpiano/subscriptions","organizations_url":"https://api.github.com/users/nicodelpiano/orgs","repos_url":"https://api.github.com/users/nicodelpiano/repos","events_url":"https://api.github.com/users/nicodelpiano/events{/privacy}","received_events_url":"https://api.github.com/users/nicodelpiano/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T19:48:48Z","updated_at":"2015-07-03T19:48:48Z","body":"I tested it, and it looks good!\r\n\r\n```\r\nmodule Main where\r\ndata Tree a = Empty | Leaf a | Branch (Tree a) (Tree a)\r\nf (Leaf 0) Empty = Empty\r\n```\r\n\r\n```haskell\r\nMain.Empty\r\n(Main.Leaf _)\r\n(Main.Branch _ _) _\r\n(Main.Leaf 0) (Main.Leaf _)\r\n(Main.Leaf 0) (Main.Branch _ _)\r\n```\r\n\r\nThat's what I expected to see. Now the general pretty print call should be `prettyPrintBinderAtom`, right? I suspect we should export it from the module.\r\n"}}