Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Function Composition and Piping

$
0
0

The following are equivalent based on the docs. Is there a Julian preference or functional reason to choose one over another, or is it just a matter of personal taste?

Nesting: g(f(x))
Composition: (g ∘ f)(x)
Piping: x |> f |> g

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Latest Images

Trending Articles



Latest Images