{"action":"closed","issue":{"url":"https://api.github.com/repos/ekmett/bound/issues/35","repository_url":"https://api.github.com/repos/ekmett/bound","labels_url":"https://api.github.com/repos/ekmett/bound/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/ekmett/bound/issues/35/comments","events_url":"https://api.github.com/repos/ekmett/bound/issues/35/events","html_url":"https://github.com/ekmett/bound/issues/35","id":181852186,"number":35,"title":"Example on how to use Bound.Name","user":{"login":"sgraf812","id":1151264,"avatar_url":"https://avatars.githubusercontent.com/u/1151264?v=3","gravatar_id":"","url":"https://api.github.com/users/sgraf812","html_url":"https://github.com/sgraf812","followers_url":"https://api.github.com/users/sgraf812/followers","following_url":"https://api.github.com/users/sgraf812/following{/other_user}","gists_url":"https://api.github.com/users/sgraf812/gists{/gist_id}","starred_url":"https://api.github.com/users/sgraf812/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgraf812/subscriptions","organizations_url":"https://api.github.com/users/sgraf812/orgs","repos_url":"https://api.github.com/users/sgraf812/repos","events_url":"https://api.github.com/users/sgraf812/events{/privacy}","received_events_url":"https://api.github.com/users/sgraf812/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-08T22:27:11Z","updated_at":"2016-10-09T06:41:50Z","closed_at":"2016-10-09T06:41:50Z","body":"I think I figured out how `Bound.Name` works, but am unsure which parts of the AST should be decorated with it. The other functions in the module suggest to decorate the first parameter of `Scope`, but it's weird not to have access to the name when matching on `Lam`. \r\n\r\nCould you drop a really short example? Just the modified basic `Exp` type + the `Lam` case of a pretty printing function like [here](https://github.com/ekmett/bound/blob/master/examples/Simple.hs#L187-L188) which figures out the right name for the bound variable should be enough."}}
{"actor":{"display_login":"sgraf812"}}