{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4041","repository_url":"https://api.github.com/repos/D-Programming-Language/phobos","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4041/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4041/comments","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4041/events","html_url":"https://github.com/D-Programming-Language/phobos/pull/4041","id":138006295,"number":4041,"title":"add documentation example for RBTree","user":{"login":"greenify","id":4370550,"avatar_url":"https://avatars.githubusercontent.com/u/4370550?v=3","gravatar_id":"","url":"https://api.github.com/users/greenify","html_url":"https://github.com/greenify","followers_url":"https://api.github.com/users/greenify/followers","following_url":"https://api.github.com/users/greenify/following{/other_user}","gists_url":"https://api.github.com/users/greenify/gists{/gist_id}","starred_url":"https://api.github.com/users/greenify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greenify/subscriptions","organizations_url":"https://api.github.com/users/greenify/orgs","repos_url":"https://api.github.com/users/greenify/repos","events_url":"https://api.github.com/users/greenify/events{/privacy}","received_events_url":"https://api.github.com/users/greenify/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-03-02T22:04:20Z","updated_at":"2016-03-08T14:28:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/4041","html_url":"https://github.com/D-Programming-Language/phobos/pull/4041","diff_url":"https://github.com/D-Programming-Language/phobos/pull/4041.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/4041.patch"},"body":"In reference to #4039 and #4040 also an example for Red Black Trees."},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments/193803729","html_url":"https://github.com/D-Programming-Language/phobos/pull/4041#issuecomment-193803729","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4041","id":193803729,"user":{"login":"schveiguy","id":580778,"avatar_url":"https://avatars.githubusercontent.com/u/580778?v=3","gravatar_id":"","url":"https://api.github.com/users/schveiguy","html_url":"https://github.com/schveiguy","followers_url":"https://api.github.com/users/schveiguy/followers","following_url":"https://api.github.com/users/schveiguy/following{/other_user}","gists_url":"https://api.github.com/users/schveiguy/gists{/gist_id}","starred_url":"https://api.github.com/users/schveiguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schveiguy/subscriptions","organizations_url":"https://api.github.com/users/schveiguy/orgs","repos_url":"https://api.github.com/users/schveiguy/repos","events_url":"https://api.github.com/users/schveiguy/events{/privacy}","received_events_url":"https://api.github.com/users/schveiguy/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T14:28:26Z","updated_at":"2016-03-08T14:28:26Z","body":"I think the point is, with the current overload set, you can specify whatever you want (element type, comparison function, and whether it should take duplicates) without having to re-specify the defaults. I like how Phobos does this.\r\n\r\nI agree that the docs could be written better, but this is a frequent problem in Phobos, especially with IFTI templates, I think we need a more general solution."}}