|> Operator in Scala
Nicolas A Perez
528
Great post !
Just a correction : the pipe-forward operator (|>) is not used for function composition but parameter inversion (the parameter comes before the function).
The function composition operator (>>) is used for function composition and is defined as : let (>>) f g x = g (f x).
More details here : http://theburningmonk.com/2011/09/fsharp-pipe-forward-and-pipe-backward/