3 ms·
I credit F# with much of the popularity of the forward pipe operator. Unlike Haskell etc. which emphasize function binding (>>), idiomatic F# has pipes all over
by substation13 5y ago
I credit F# with much of the popularity of the forward pipe operator. Unlike Haskell etc. which emphasize function binding (>>), idiomatic F# has pipes all over.
[1..10]
|> Seq.filter (fun x -> x % 2 = 0)
|> Seq.map (fun x -> x * x * x)
- j_m_b 5y agoLooks like I need to check out F#! Thanks!