Fsharp: Pipe operator (function chaining)

By Xah Lee. Date: .

Pipe operator (function chaining)

let fa x = x + "a"
let fb x = x + "b"

let xresult = ("z" |> fa |> fb)

printfn "%s" xresult
// zab

fsharp function