Hacker News new | ask | show | jobs
by rpeden 311 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.
2 comments

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

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

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