Somewhat related, but I wish that more languages provided a reserved convenience variable for accessing the result of the previous function call:<p><a href="https://stackoverflow.com/questions/3326826/language-history-origin-of-variable-it-in-read-eval-print-loop/3342195" rel="nofollow">https://stackoverflow.com/questions/3326826/language-history...</a><p><pre><code> Python and Ruby: _
Shell: $?
HyperTalk: it (my first exposure to the concept, even though it was more of a convention)
Some Lisps: *, **, ***, ...
</code></pre>
If we had that, then we could write:<p><pre><code> func1();
func2(_);
func3(_);
...
</code></pre>
Which reminds me of PostScript, which lets you examine and manipulate the program's stack directly (the top of the stack is the previous result):<p><a href="http://www.ugrad.math.ubc.ca/Flat/intro.html" rel="nofollow">http://www.ugrad.math.ubc.ca/Flat/intro.html</a><p><a href="http://www.ugrad.math.ubc.ca/Flat/stack.html" rel="nofollow">http://www.ugrad.math.ubc.ca/Flat/stack.html</a><p>If I were implementing it, I would make the previous result and stack contents read-only so that it's conceptually the same as the pipeline operator except that it allows inspecting the intermediate value.