{"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":9,"created_at":"2016-03-02T22:04:20Z","updated_at":"2016-03-06T15:10:17Z","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/192909440","html_url":"https://github.com/D-Programming-Language/phobos/pull/4041#issuecomment-192909440","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/4041","id":192909440,"user":{"login":"JakobOvrum","id":155856,"avatar_url":"https://avatars.githubusercontent.com/u/155856?v=3","gravatar_id":"","url":"https://api.github.com/users/JakobOvrum","html_url":"https://github.com/JakobOvrum","followers_url":"https://api.github.com/users/JakobOvrum/followers","following_url":"https://api.github.com/users/JakobOvrum/following{/other_user}","gists_url":"https://api.github.com/users/JakobOvrum/gists{/gist_id}","starred_url":"https://api.github.com/users/JakobOvrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakobOvrum/subscriptions","organizations_url":"https://api.github.com/users/JakobOvrum/orgs","repos_url":"https://api.github.com/users/JakobOvrum/repos","events_url":"https://api.github.com/users/JakobOvrum/events{/privacy}","received_events_url":"https://api.github.com/users/JakobOvrum/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T15:10:17Z","updated_at":"2016-03-06T15:10:17Z","body":"Just saw the string stuff, please no! This makes the function utterly useless in generic code. Every specialization of such caliber requires that the caller also specializes to achieve generic behaviour. It doesn't scale and is likely to surprise programmers.\r\n\r\n`redBlackTree(\"literal here\")` is a contrived case and can easily be changed to `redBlackTree([\"literal here\"])` or `redBlackTree(only(\"literal here\"))`."}}