{"action":"closed","issue":{"url":"https://api.github.com/repos/bryanedds/Nu/issues/99","repository_url":"https://api.github.com/repos/bryanedds/Nu","labels_url":"https://api.github.com/repos/bryanedds/Nu/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/bryanedds/Nu/issues/99/comments","events_url":"https://api.github.com/repos/bryanedds/Nu/issues/99/events","html_url":"https://github.com/bryanedds/Nu/issues/99","id":108587409,"number":99,"title":"Improve event debugging experience.","user":{"login":"bryanedds","id":1625560,"avatar_url":"https://avatars.githubusercontent.com/u/1625560?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanedds","html_url":"https://github.com/bryanedds","followers_url":"https://api.github.com/users/bryanedds/followers","following_url":"https://api.github.com/users/bryanedds/following{/other_user}","gists_url":"https://api.github.com/users/bryanedds/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanedds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanedds/subscriptions","organizations_url":"https://api.github.com/users/bryanedds/orgs","repos_url":"https://api.github.com/users/bryanedds/repos","events_url":"https://api.github.com/users/bryanedds/events{/privacy}","received_events_url":"https://api.github.com/users/bryanedds/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bryanedds/Nu/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"bryanedds","id":1625560,"avatar_url":"https://avatars.githubusercontent.com/u/1625560?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanedds","html_url":"https://github.com/bryanedds","followers_url":"https://api.github.com/users/bryanedds/followers","following_url":"https://api.github.com/users/bryanedds/following{/other_user}","gists_url":"https://api.github.com/users/bryanedds/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanedds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanedds/subscriptions","organizations_url":"https://api.github.com/users/bryanedds/orgs","repos_url":"https://api.github.com/users/bryanedds/repos","events_url":"https://api.github.com/users/bryanedds/events{/privacy}","received_events_url":"https://api.github.com/users/bryanedds/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-09-28T04:24:36Z","updated_at":"2016-02-28T18:00:16Z","closed_at":"2016-02-28T18:00:16Z","body":"Two things make event debugging hard in Nu -\r\n\r\n1) The chain monad pollutes the call stack really quickly because it's not tail-recursive.\r\n\r\n2) It's too hard to identify from where an event originates when using the Observation arrow. **FIXED**\r\n\r\nFix issue 1 by making the chain monad tail-recursive.\r\n\r\nFix issue 2 by finding a good place to add metadata to subscription entries or somewhere."}}