PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Pipes

Pipes

Pipes are a 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, Elixir, Julia, Bash

Example from R:
# R has pipes via a library like dplyr starwars %>% filter(species == "Droid")
Example from Elixir:
"Elixir" |> String.graphemes() |> Enum.frequencies()
Example from Julia:
[1,2,3] |> (y -> f(3, y))
Example from Bash:
echo "Hello world" > output.txt
partial-application-feature.html 路 pipes-feature.html 路 processor-registers-feature.html

View source

PLDB - Build the next great programming language 路 v2022 Day 28 Docs Build Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com