# Piping operator |\> not documented?

**URL:** <https://discourse.julialang.org/t/piping-operator-not-documented/11985>\
**Category:** New to Julia\
**Tags:** piping\
**Created:** [June 26, 2018, 10:48pm UTC](https://discourse.julialang.org/t/piping-operator-not-documented/11985 "2018-06-26T22:48:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![drbenvincent](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/drbenvincent/32/3046_2.png) [@drbenvincent](https://discourse.julialang.org/u/drbenvincent)\
**Post date:** [June 26, 2018, 10:48pm UTC](https://discourse.julialang.org/t/piping-operator-not-documented/11985/1 "2018-06-26T22:48:22Z")

</div>

Am I going crazy here, or is the pipe operator `|>` entirely missing from the docs? Seems like it’s something that should be there (with examples) maybe along with a lot of the other operators here [Mathematical Operations and Elementary Functions · The Julia Language](https://docs.julialang.org/en/v0.6.2/manual/mathematical-operations/)

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [June 26, 2018, 11:38pm UTC](https://discourse.julialang.org/t/piping-operator-not-documented/11985/2 "2018-06-26T23:38:59Z")

</div>

I couldn’t find it in the doc either (though it is in the REPL help)

```julia
help?> |>
search: |>

  |>(x, f)

  Applies a function to the preceding argument. This allows for easy function
  chaining.

  julia> [1:5;] |> x->x.^2 |> sum |> inv
  0.01818181818181818

```

There was [some discussion](https://github.com/JuliaLang/julia/issues/20331) to deprecate it in favour of using specific packages but it looks like it was rejected so it probably should be documented. Maybe open an issue?

---

<div class="post-metadata">

**Author:** ![Ralph\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ralph_smith/32/10344_2.png) [@Ralph\_Smith](https://discourse.julialang.org/u/Ralph_Smith)\
**Post date:** [June 27, 2018, 3:22am UTC](https://discourse.julialang.org/t/piping-operator-not-documented/11985/3 "2018-06-27T03:22:01Z")

</div>

It’s under “Essentials” in the Library section. Search functionality in the HTML documents is currently rather poor. (I think the Documenter team know this but haven’t yet decided how to replace the JS.)

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [June 27, 2018, 6:09am UTC](https://discourse.julialang.org/t/piping-operator-not-documented/11985/4 "2018-06-27T06:09:59Z")

</div>

A search for “chain” (with the quotes) is fairly fruitful. Perhaps a PR to add the words “piping” and “pipe” to the doc strings would be favourable considered…

I think the quotes quell the fuzziness…?

---

<div class="post-metadata">

**Author:** ![drbenvincent](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/drbenvincent/32/3046_2.png) [@drbenvincent](https://discourse.julialang.org/u/drbenvincent)\
**Post date:** [June 27, 2018, 2:41pm UTC](https://discourse.julialang.org/t/piping-operator-not-documented/11985/5 "2018-06-27T14:41:53Z")

</div>

So now I find that there is also the `\cdot` operator which is also really hidden away. Personally, I think these should be much more discoverable as they will be novel for people coming from some other languages. I’ll go create an issue suggesting both operators are given a bit of space in the docs. Maybe the Functions section would be a natural home.

EDIT: Done. See [#27879](https://github.com/JuliaLang/julia/issues/27879) for progress.
