PLDB
Languages Features Calendar About Lists Add Language
GitHub icon

Pipes

Pipes

Pipes are a language feature.

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.

Languages with Pipes include R, Julia, Bash

Example from R:

# R has pipes via a library like dplyr starwars %>% filter(species == "Droid")

Example from Julia:

[1,2,3] |> (y -> f(3, y))

Example from Bash:

echo "Hello world" > output.txt

Article source

PLDB - Build the next great programming language. v5.0.0 - Acknowledgements · Email · GitHub