3 ms·
You do for member access, e.g. let firstName = person |> fun x -> x.FirstName |> trim Some languages allow: let firstName =
by substation13 4y ago
You do for member access, e.g.
let firstName =
person
|> fun x -> x.FirstName
|> trim
Some languages allow:
let firstName =
person
|> .FirstName
|> trim
But you're right, expression-orientation and currying make this much more natural.