{"action":"created","issue":{"url":"https://api.github.com/repos/rwobben/paytime/issues/15","labels_url":"https://api.github.com/repos/rwobben/paytime/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/rwobben/paytime/issues/15/comments","events_url":"https://api.github.com/repos/rwobben/paytime/issues/15/events","html_url":"https://github.com/rwobben/paytime/issues/15","id":125228354,"number":15,"title":"Delete a account ","user":{"login":"rwobben","id":16528407,"avatar_url":"https://avatars.githubusercontent.com/u/16528407?v=3","gravatar_id":"","url":"https://api.github.com/users/rwobben","html_url":"https://github.com/rwobben","followers_url":"https://api.github.com/users/rwobben/followers","following_url":"https://api.github.com/users/rwobben/following{/other_user}","gists_url":"https://api.github.com/users/rwobben/gists{/gist_id}","starred_url":"https://api.github.com/users/rwobben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwobben/subscriptions","organizations_url":"https://api.github.com/users/rwobben/orgs","repos_url":"https://api.github.com/users/rwobben/repos","events_url":"https://api.github.com/users/rwobben/events{/privacy}","received_events_url":"https://api.github.com/users/rwobben/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":50,"created_at":"2016-01-06T17:56:23Z","updated_at":"2016-01-07T17:55:51Z","closed_at":null,"body":"For deleting a account, we have to ask the user which account he/she wants to delete. \r\n\r\nSo accounts looks like this [ { \"test\", 100, [] } , {\"test2, 80,0] } \r\n\r\nLets say the user enters test1 as the account that has to be deleted. \r\nHow can I tell haskell to check if a account is in the accounts map so I can make a message that the acccount is deleted or that the account cannot be deleted because it does not exist. "},"comment":{"url":"https://api.github.com/repos/rwobben/paytime/issues/comments/169756136","html_url":"https://github.com/rwobben/paytime/issues/15#issuecomment-169756136","issue_url":"https://api.github.com/repos/rwobben/paytime/issues/15","id":169756136,"user":{"login":"rwobben","id":16528407,"avatar_url":"https://avatars.githubusercontent.com/u/16528407?v=3","gravatar_id":"","url":"https://api.github.com/users/rwobben","html_url":"https://github.com/rwobben","followers_url":"https://api.github.com/users/rwobben/followers","following_url":"https://api.github.com/users/rwobben/following{/other_user}","gists_url":"https://api.github.com/users/rwobben/gists{/gist_id}","starred_url":"https://api.github.com/users/rwobben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwobben/subscriptions","organizations_url":"https://api.github.com/users/rwobben/orgs","repos_url":"https://api.github.com/users/rwobben/repos","events_url":"https://api.github.com/users/rwobben/events{/privacy}","received_events_url":"https://api.github.com/users/rwobben/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T17:55:51Z","updated_at":"2016-01-07T17:55:51Z","body":"No problem. If it's no problem I close this one. "}}