Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rpeden
· 1y ago · 0 comments
Is |> actually an operator in F#? I think it's just a regular function in the standard library but maybe I'm remembering incorrectly.
Comments
[–]
laurentlb
1y 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.
[–]
int_19h
1y ago
All operators are functions in F#, e.g. this is valid: (+) 1 2