{"action":"created","issue":{"url":"https://api.github.com/repos/purescript/purescript-quickcheck/issues/82","repository_url":"https://api.github.com/repos/purescript/purescript-quickcheck","labels_url":"https://api.github.com/repos/purescript/purescript-quickcheck/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/purescript/purescript-quickcheck/issues/82/comments","events_url":"https://api.github.com/repos/purescript/purescript-quickcheck/issues/82/events","html_url":"https://github.com/purescript/purescript-quickcheck/pull/82","id":254800565,"number":82,"title":"Add 'Arbitrary' instance for records","user":{"login":"sharkdp","id":4209276,"avatar_url":"https://avatars2.githubusercontent.com/u/4209276?v=4","gravatar_id":"","url":"https://api.github.com/users/sharkdp","html_url":"https://github.com/sharkdp","followers_url":"https://api.github.com/users/sharkdp/followers","following_url":"https://api.github.com/users/sharkdp/following{/other_user}","gists_url":"https://api.github.com/users/sharkdp/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkdp/subscriptions","organizations_url":"https://api.github.com/users/sharkdp/orgs","repos_url":"https://api.github.com/users/sharkdp/repos","events_url":"https://api.github.com/users/sharkdp/events{/privacy}","received_events_url":"https://api.github.com/users/sharkdp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-02T09:19:53Z","updated_at":"2017-09-02T18:14:18Z","closed_at":"2017-09-02T18:14:06Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/purescript/purescript-quickcheck/pulls/82","html_url":"https://github.com/purescript/purescript-quickcheck/pull/82","diff_url":"https://github.com/purescript/purescript-quickcheck/pull/82.diff","patch_url":"https://github.com/purescript/purescript-quickcheck/pull/82.patch"},"body":"This adds an `Arbitrary` instance for general records:\r\n\r\nExample\r\n``` purs\r\ntype Person =\r\n  { name :: { first :: String\r\n            , last :: String\r\n            }\r\n  , age :: Int\r\n  , height :: Number\r\n  }\r\n\r\n> persons ← randomSample' 10 (arbitrary :: Gen Person)\r\n```\r\n\r\n*Note*: This is the first time that I'm using the new (and awesome) typelevel-programming features of PureScript, so I'm not sure if I'm doing this correctly :smile:"},"comment":{"url":"https://api.github.com/repos/purescript/purescript-quickcheck/issues/comments/326761117","html_url":"https://github.com/purescript/purescript-quickcheck/pull/82#issuecomment-326761117","issue_url":"https://api.github.com/repos/purescript/purescript-quickcheck/issues/82","id":326761117,"user":{"login":"paf31","id":630306,"avatar_url":"https://avatars0.githubusercontent.com/u/630306?v=4","gravatar_id":"","url":"https://api.github.com/users/paf31","html_url":"https://github.com/paf31","followers_url":"https://api.github.com/users/paf31/followers","following_url":"https://api.github.com/users/paf31/following{/other_user}","gists_url":"https://api.github.com/users/paf31/gists{/gist_id}","starred_url":"https://api.github.com/users/paf31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paf31/subscriptions","organizations_url":"https://api.github.com/users/paf31/orgs","repos_url":"https://api.github.com/users/paf31/repos","events_url":"https://api.github.com/users/paf31/events{/privacy}","received_events_url":"https://api.github.com/users/paf31/received_events","type":"User","site_admin":false},"created_at":"2017-09-02T18:14:18Z","updated_at":"2017-09-02T18:14:18Z","author_association":"OWNER","body":"Thanks, looks great! I'll think a bit about the `ST` thing."}}
{"actor":{"display_login":"paf31"}}