{"action":"opened","issue":{"url":"https://api.github.com/repos/non/spire/issues/463","labels_url":"https://api.github.com/repos/non/spire/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/non/spire/issues/463/comments","events_url":"https://api.github.com/repos/non/spire/issues/463/events","html_url":"https://github.com/non/spire/issues/463","id":89122545,"number":463,"title":"Add typeclass instances for Unit","user":{"login":"rklaehn","id":248257,"avatar_url":"https://avatars.githubusercontent.com/u/248257?v=3","gravatar_id":"","url":"https://api.github.com/users/rklaehn","html_url":"https://github.com/rklaehn","followers_url":"https://api.github.com/users/rklaehn/followers","following_url":"https://api.github.com/users/rklaehn/following{/other_user}","gists_url":"https://api.github.com/users/rklaehn/gists{/gist_id}","starred_url":"https://api.github.com/users/rklaehn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rklaehn/subscriptions","organizations_url":"https://api.github.com/users/rklaehn/orgs","repos_url":"https://api.github.com/users/rklaehn/repos","events_url":"https://api.github.com/users/rklaehn/events{/privacy}","received_events_url":"https://api.github.com/users/rklaehn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-17T20:49:14Z","updated_at":"2015-06-17T20:49:14Z","closed_at":null,"body":"Sometimes it would be useful to have an Eq or Order instance for Unit. It is trivial to implement.\r\n\r\nMy use case for Eq[Unit] is a typeclass based map that I want to use as a set by setting the value type to Unit. I currently can't think of use cases for Unit instances of more complex typeclasses, but many of those would also be trivial to implement."}}