{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript-generics/issues/10","labels_url":"https://api.github.com/repos/purescript/purescript-generics/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript-generics/issues/10/comments","events_url":"https://api.github.com/repos/purescript/purescript-generics/issues/10/events","html_url":"https://github.com/purescript/purescript-generics/issues/10","id":100949168,"number":10,"title":"Instance code generation","user":{"login":"user471","id":5988253,"avatar_url":"https://avatars.githubusercontent.com/u/5988253?v=3","gravatar_id":"","url":"https://api.github.com/users/user471","html_url":"https://github.com/user471","followers_url":"https://api.github.com/users/user471/followers","following_url":"https://api.github.com/users/user471/following{/other_user}","gists_url":"https://api.github.com/users/user471/gists{/gist_id}","starred_url":"https://api.github.com/users/user471/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/user471/subscriptions","organizations_url":"https://api.github.com/users/user471/orgs","repos_url":"https://api.github.com/users/user471/repos","events_url":"https://api.github.com/users/user471/events{/privacy}","received_events_url":"https://api.github.com/users/user471/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-14T07:00:42Z","updated_at":"2015-08-14T12:00:09Z","closed_at":null,"body":"Is there any plan to generate this code somehow automatically?\r\n```\r\ninstance showFoo :: Show Foo where\r\n    show = gShow\r\n\r\ninstance eqFoo :: Eq Foo where\r\n    eq = gEq\r\n\r\ninstance ordFoo :: Ord Foo where\r\n    compare = gCompare\r\n```"},"comment":{"url":"https://api.github.com/repos/purescript/purescript-generics/issues/comments/131086579","html_url":"https://github.com/purescript/purescript-generics/issues/10#issuecomment-131086579","issue_url":"https://api.github.com/repos/purescript/purescript-generics/issues/10","id":131086579,"user":{"login":"user471","id":5988253,"avatar_url":"https://avatars.githubusercontent.com/u/5988253?v=3","gravatar_id":"","url":"https://api.github.com/users/user471","html_url":"https://github.com/user471","followers_url":"https://api.github.com/users/user471/followers","following_url":"https://api.github.com/users/user471/following{/other_user}","gists_url":"https://api.github.com/users/user471/gists{/gist_id}","starred_url":"https://api.github.com/users/user471/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/user471/subscriptions","organizations_url":"https://api.github.com/users/user471/orgs","repos_url":"https://api.github.com/users/user471/repos","events_url":"https://api.github.com/users/user471/events{/privacy}","received_events_url":"https://api.github.com/users/user471/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T12:00:09Z","updated_at":"2015-08-14T12:00:09Z","body":"But what is wrong with Haskell deriving syntax sugar? \r\n```\r\ndata Foo = Foo Number String deriving( Eq, Show, Ord )\r\n```\r\ncould generate all this code.\r\nWhy cannot PS have this feature?"}}