Remix.run Logo
rpeden 7 days ago

Is |> actually an operator in F#? I think it's just a regular function in the standard library but maybe I'm remembering incorrectly.

laurentlb 7 days ago | parent | next [-]

It's defined in the standard library and can be redefined by anyone.

It's usually called operator because it uses an infix notation.

int_19h 7 days ago | parent | prev [-]

All operators are functions in F#, e.g. this is valid: (+) 1 2