{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3833","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3833/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3833/comments","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3833/events","html_url":"https://github.com/D-Programming-Language/phobos/pull/3833","id":118894822,"number":3833,"title":"PR \"Tuple's toString made useful\" once again.","user":{"login":"Bolpat","id":10766348,"avatar_url":"https://avatars.githubusercontent.com/u/10766348?v=3","gravatar_id":"","url":"https://api.github.com/users/Bolpat","html_url":"https://github.com/Bolpat","followers_url":"https://api.github.com/users/Bolpat/followers","following_url":"https://api.github.com/users/Bolpat/following{/other_user}","gists_url":"https://api.github.com/users/Bolpat/gists{/gist_id}","starred_url":"https://api.github.com/users/Bolpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bolpat/subscriptions","organizations_url":"https://api.github.com/users/Bolpat/orgs","repos_url":"https://api.github.com/users/Bolpat/repos","events_url":"https://api.github.com/users/Bolpat/events{/privacy}","received_events_url":"https://api.github.com/users/Bolpat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T18:18:15Z","updated_at":"2015-11-25T21:00:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3833","html_url":"https://github.com/D-Programming-Language/phobos/pull/3833","diff_url":"https://github.com/D-Programming-Language/phobos/pull/3833.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/3833.patch"},"body":"For the conversation and reasons for the reopening see [here](github.com/D-Programming-Language/phobos/pull/3594). In a nutshell, I did a wrong rebase.\r\n\r\nFrom [Forum: Make Tuple.toString useful](http://forum.dlang.org/thread/srofuqyrdzphgzylbwds@forum.dlang.org):\r\nWith this, you can easily format a `Tuple` from its content, similar how to do with an array.\r\nThe `toString(delegate, FormatSpec)` function takes the formats `%(nested%)` and `%(nested%|separator%)` a bit different: The second one treats the Tuple as it was an array. The first one applies the nested format to the expanded fields, like `format(nested, tup.expand)` did.\r\nWith this, the forum question [Formatted output of range of tuples](http://forum.dlang.org/post/ntqawkupddjcijwtwovp@forum.dlang.org) gets a trivial answer: Use `\"%(%(%s%| %)\\n%)\"` instead of `\"%(%(%s %)\\n%)\"`.\r\nIt can be expected not to break any existing code.\r\n(This is more or less the old message.)"},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments/159730526","html_url":"https://github.com/D-Programming-Language/phobos/pull/3833#issuecomment-159730526","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3833","id":159730526,"user":{"login":"jmdavis","id":579956,"avatar_url":"https://avatars.githubusercontent.com/u/579956?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdavis","html_url":"https://github.com/jmdavis","followers_url":"https://api.github.com/users/jmdavis/followers","following_url":"https://api.github.com/users/jmdavis/following{/other_user}","gists_url":"https://api.github.com/users/jmdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdavis/subscriptions","organizations_url":"https://api.github.com/users/jmdavis/orgs","repos_url":"https://api.github.com/users/jmdavis/repos","events_url":"https://api.github.com/users/jmdavis/events{/privacy}","received_events_url":"https://api.github.com/users/jmdavis/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T21:00:46Z","updated_at":"2015-11-25T21:00:46Z","body":"https://github.com/D-Programming-Language/phobos/pull/3829 accidentally introduced the trailing whitespace about 2 hours ago. It should be fixed as soon as https://github.com/D-Programming-Language/phobos/pull/3834 has been merged."}}