{"action":"created","issue":{"url":"https://api.github.com/repos/fscheck/FsCheck/issues/221","repository_url":"https://api.github.com/repos/fscheck/FsCheck","labels_url":"https://api.github.com/repos/fscheck/FsCheck/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/fscheck/FsCheck/issues/221/comments","events_url":"https://api.github.com/repos/fscheck/FsCheck/issues/221/events","html_url":"https://github.com/fscheck/FsCheck/pull/221","id":149135501,"number":221,"title":"Add Gen.shuffle","user":{"login":"moodmosaic","id":287532,"avatar_url":"https://avatars.githubusercontent.com/u/287532?v=3","gravatar_id":"","url":"https://api.github.com/users/moodmosaic","html_url":"https://github.com/moodmosaic","followers_url":"https://api.github.com/users/moodmosaic/followers","following_url":"https://api.github.com/users/moodmosaic/following{/other_user}","gists_url":"https://api.github.com/users/moodmosaic/gists{/gist_id}","starred_url":"https://api.github.com/users/moodmosaic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moodmosaic/subscriptions","organizations_url":"https://api.github.com/users/moodmosaic/orgs","repos_url":"https://api.github.com/users/moodmosaic/repos","events_url":"https://api.github.com/users/moodmosaic/events{/privacy}","received_events_url":"https://api.github.com/users/moodmosaic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-18T12:23:16Z","updated_at":"2016-04-19T10:36:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fscheck/FsCheck/pulls/221","html_url":"https://github.com/fscheck/FsCheck/pull/221","diff_url":"https://github.com/fscheck/FsCheck/pull/221.diff","patch_url":"https://github.com/fscheck/FsCheck/pull/221.patch"},"body":"This Pull Request adds `shuffle` to the `Gen` module, as discussed in #220.\r\n\r\n`shuffle` generates a random permutation of a given sequence, and has the type of\r\n\r\n```\r\nseq<'a> -> Gen<seq<'a>>\r\n```\r\n\r\nIt has been ported from Haskell, where `shuffle` appeared in QuickCheck version 2.8.0 ([source](https://hackage.haskell.org/package/QuickCheck-2.8/docs/src/Test-QuickCheck-Gen.html#shuffle)) and got further optimized on version 2.8.2 ([source](https://github.com/nick8325/quickcheck/commit/6c360c1b594b0243e51bfcd4e2428882570e7a51))."},"comment":{"url":"https://api.github.com/repos/fscheck/FsCheck/issues/comments/211850069","html_url":"https://github.com/fscheck/FsCheck/pull/221#issuecomment-211850069","issue_url":"https://api.github.com/repos/fscheck/FsCheck/issues/221","id":211850069,"user":{"login":"moodmosaic","id":287532,"avatar_url":"https://avatars.githubusercontent.com/u/287532?v=3","gravatar_id":"","url":"https://api.github.com/users/moodmosaic","html_url":"https://github.com/moodmosaic","followers_url":"https://api.github.com/users/moodmosaic/followers","following_url":"https://api.github.com/users/moodmosaic/following{/other_user}","gists_url":"https://api.github.com/users/moodmosaic/gists{/gist_id}","starred_url":"https://api.github.com/users/moodmosaic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moodmosaic/subscriptions","organizations_url":"https://api.github.com/users/moodmosaic/orgs","repos_url":"https://api.github.com/users/moodmosaic/repos","events_url":"https://api.github.com/users/moodmosaic/events{/privacy}","received_events_url":"https://api.github.com/users/moodmosaic/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T10:36:01Z","updated_at":"2016-04-19T10:36:01Z","body":"@kurtschelfthout Isn't `Seq.toArray` at the end constraining the input of `shuffle`\r\n\r\n```\r\nval shuffle : xs:seq<'a> -> Gen<'a []>\r\n```\r\n\r\n?"}}