https://issues.dlang.org/show_bug.cgi?id=9882
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=9882
--- Comment #8 from bearophile_h...@eml.cc ---
(In reply to github-bugzilla from comment #7)
> Commits pushed to master at https://github.com/D-Programming-Language/phobos
>
> https://github.com/D-Programming-Language/phobos/commit/
> 45c4e51982c47e0f
https://issues.dlang.org/show_bug.cgi?id=9882
--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/45c4e51982c47e0f76583459eeb47a830c0277a1
Revive #1348: "Issue 98
http://d.puremagic.com/issues/show_bug.cgi?id=9882
--- Comment #6 from bearophile_h...@eml.cc 2013-04-26 15:28:37 PDT ---
A suggestion in D.learn shows me that sometimes
std.functional.binaryReverseArgs is an acceptable solution for the terminal
writefln (but it can't be used for intermediate pr
http://d.puremagic.com/issues/show_bug.cgi?id=9882
--- Comment #5 from Jacob Carlborg 2013-04-05 12:00:05 PDT ---
(In reply to comment #4)
> A lambda like s => writeln(s) returns void, it's kind of the opposite of the
> lambda calculus :-)
Right, forgot that.
--
Configure issuemail: http://d
http://d.puremagic.com/issues/show_bug.cgi?id=9882
--- Comment #4 from bearophile_h...@eml.cc 2013-04-05 11:52:25 PDT ---
(In reply to comment #3)
> Sure, but I prefer the lambda syntax:
>
> .tap!(s => writeln(s))
A lambda like s => writeln(s) returns void, it's kind of the opposite of the
lam
http://d.puremagic.com/issues/show_bug.cgi?id=9882
--- Comment #3 from Jacob Carlborg 2013-04-05 11:46:00 PDT ---
> To use tap I have used a syntax like:
>
> .tap!q{ writeln(s) }
> .tap!q{ writefln("%(%s\n%)", s) };
>
> But I don't know if such syntax is good and possible in D.
Sure,
http://d.puremagic.com/issues/show_bug.cgi?id=9882
--- Comment #2 from bearophile_h...@eml.cc 2013-04-05 11:02:48 PDT ---
(In reply to comment #1)
> I like that "tap" function in Ruby and use it for non-range code as well.
To use tap I have used a syntax like:
.tap!q{ writeln(s) }
.tap
http://d.puremagic.com/issues/show_bug.cgi?id=9882
Jacob Carlborg changed:
What|Removed |Added
CC||d...@me.com
--- Comment #1 from Jacob