Pipes is an actively used design pattern. In software engineering, a pipeline consists of a chain of processing elements (processes, threads, coroutines, functions, etc.), arranged so that the output of each element is the input of the next; the name is by analogy to a physical pipeline.
- the Pipes wikipedia page
- Have a question about Pipes not answered here? Email me and let me know how I can help.
Example from julia:
[1,2,3] |> (y -> f(3, y))
Example from r:
# R has pipes via a library like dplyr starwars %>% filter(species == "Droid")
Last updated August 9th, 2020