Tacit programming: Difference between revisions

Content deleted Content added
No edit summary
Line 127:
sort | uniq -c | sort -rn
</syntaxhighlight>
is a tacit or point-free composition which returns the counts of its arguments and the arguments, in the order of decreasing counts. The 'sort' and 'uniq' are the functions, the '-c' and '-rn' control the functions, but the arguments are not mentioned. The pipe '|' is the composition operator.
 
Due to the way pipelines work, it is only normally possible to pass one "argument" at a time in the form of a pair of standard input/output stream. However, extra [[file descriptor]]s can be opened from [[named pipe]]s.
 
== See also ==