{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript-maps/issues/51","labels_url":"https://api.github.com/repos/purescript/purescript-maps/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript-maps/issues/51/comments","events_url":"https://api.github.com/repos/purescript/purescript-maps/issues/51/events","html_url":"https://github.com/purescript/purescript-maps/issues/51","id":116281483,"number":51,"title":"Derive Generic","user":{"login":"wereHamster","id":34538,"avatar_url":"https://avatars.githubusercontent.com/u/34538?v=3","gravatar_id":"","url":"https://api.github.com/users/wereHamster","html_url":"https://github.com/wereHamster","followers_url":"https://api.github.com/users/wereHamster/followers","following_url":"https://api.github.com/users/wereHamster/following{/other_user}","gists_url":"https://api.github.com/users/wereHamster/gists{/gist_id}","starred_url":"https://api.github.com/users/wereHamster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wereHamster/subscriptions","organizations_url":"https://api.github.com/users/wereHamster/orgs","repos_url":"https://api.github.com/users/wereHamster/repos","events_url":"https://api.github.com/users/wereHamster/events{/privacy}","received_events_url":"https://api.github.com/users/wereHamster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-11T07:25:21Z","updated_at":"2015-11-11T17:01:55Z","closed_at":null,"body":"Would add a new dependency, and require a recent compiler version (>= 0.7.3)."},"comment":{"url":"https://api.github.com/repos/purescript/purescript-maps/issues/comments/155847035","html_url":"https://github.com/purescript/purescript-maps/issues/51#issuecomment-155847035","issue_url":"https://api.github.com/repos/purescript/purescript-maps/issues/51","id":155847035,"user":{"login":"wereHamster","id":34538,"avatar_url":"https://avatars.githubusercontent.com/u/34538?v=3","gravatar_id":"","url":"https://api.github.com/users/wereHamster","html_url":"https://github.com/wereHamster","followers_url":"https://api.github.com/users/wereHamster/followers","following_url":"https://api.github.com/users/wereHamster/following{/other_user}","gists_url":"https://api.github.com/users/wereHamster/gists{/gist_id}","starred_url":"https://api.github.com/users/wereHamster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wereHamster/subscriptions","organizations_url":"https://api.github.com/users/wereHamster/orgs","repos_url":"https://api.github.com/users/wereHamster/repos","events_url":"https://api.github.com/users/wereHamster/events{/privacy}","received_events_url":"https://api.github.com/users/wereHamster/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T17:01:55Z","updated_at":"2015-11-11T17:01:55Z","body":"My goal is to be able to easily derive Show, Eq, Ord instances. It's\nalready tedious as is is, compared to Haskell, having to write all these\ninstances manually (and also lenses). It feels like I spend half of my time\nwriting this boilerplate code.\n\nOn Mi., 11. Nov. 2015 at 17:48, Phil Freeman <notifications@github.com>\nwrote:\n\n> [image: :-1:] from me.\n>\n> The issue I see here is that a Generic instance leaks the internals of\n> the Map structure, which otherwise are not exported. I can't think of a\n> single case where we want the sums of products representation to be\n> available to a generic library. We want to treat it abstractly, like in\n> aeson, where the Map constructor is matched explicitly and handled like a\n> JSON map.\n>\n> Did I miss a different use case?\n>\n> What's the goal here?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/purescript/purescript-maps/issues/51#issuecomment-155841967>\n> .\n>\n"}}