From the world of F #, I use |>to transfer data to functions:
[1..10] |> List.filter (fun n -> n % 2 = 0) |> List.map (fun n -> n * n);
I guess PureScript, being inspired by Haskell, has something similar.
How to use pipe operator in PureScript?
source
share