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.

?Years Old

Languages with Pipes include julia, r

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 January 24th, 2020

Edit Pipes on GitHub