Y
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
laurentlb
311 days ago
It's defined in the standard library and can be redefined by anyone.
It's usually called operator because it uses an infix notation.
link
int_19h
311 days ago
All operators are functions in F#, e.g. this is valid: (+) 1 2
link
It's usually called operator because it uses an infix notation.