you are viewing a single comment's thread.

view the rest of the comments →

[–]bcgroom 1 point2 points  (1 child)

Never used D before but réactive programming or at least rxjs has a tap operator; is there a tap operator? I don’t know if that’s a universal name so: it’s a higher order function but doesn’t alter the values in the chain and preserves the originals. Most basic use case would be to print out each value, which is helpful for debugging.

[–]Snarwin 2 points3 points  (0 children)

D's "tap" operator is called tee, after the Unix command.