{"action":"opened","issue":{"url":"https://api.github.com/repos/haskell-hvr/cassava/issues/164","repository_url":"https://api.github.com/repos/haskell-hvr/cassava","labels_url":"https://api.github.com/repos/haskell-hvr/cassava/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/haskell-hvr/cassava/issues/164/comments","events_url":"https://api.github.com/repos/haskell-hvr/cassava/issues/164/events","html_url":"https://github.com/haskell-hvr/cassava/issues/164","id":351890388,"node_id":"MDU6SXNzdWUzNTE4OTAzODg=","number":164,"title":"Flatten data records","user":{"login":"ip1981","id":131844,"node_id":"MDQ6VXNlcjEzMTg0NA==","avatar_url":"https://avatars3.githubusercontent.com/u/131844?v=4","gravatar_id":"","url":"https://api.github.com/users/ip1981","html_url":"https://github.com/ip1981","followers_url":"https://api.github.com/users/ip1981/followers","following_url":"https://api.github.com/users/ip1981/following{/other_user}","gists_url":"https://api.github.com/users/ip1981/gists{/gist_id}","starred_url":"https://api.github.com/users/ip1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ip1981/subscriptions","organizations_url":"https://api.github.com/users/ip1981/orgs","repos_url":"https://api.github.com/users/ip1981/repos","events_url":"https://api.github.com/users/ip1981/events{/privacy}","received_events_url":"https://api.github.com/users/ip1981/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-19T10:02:17Z","updated_at":"2018-08-19T10:02:17Z","closed_at":null,"author_association":"NONE","body":"Let's have\r\n\r\n```\r\ndata Foo = Foo\r\n{ foo1 :: Int\r\n,  foo1 :: String\r\n}\r\n\r\ndata Bar = Bar\r\n{ bar1 :: Int\r\n, bar1 :: Foo\r\n}\r\n```\r\n\r\nI'd like to have CSV:\r\n```\r\nbar1, foo1, foo1\r\n1, 1, \"foo\"\r\n```\r\n\r\nHow can I do that? Maybe with nested records too, avoiding boilerplate code, using generics, etc "}}
{"actor":{"display_login":"ip1981"}}