Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
cwyers
10y ago
0 comments
Save
Share
I've never written OCaml, just SML and F#, but I thought that OCaml didn't have the |> operator.
0 comments
3 comments · 1 top-level
top
newest
oldest
cvik
10y ago
· 2 in thread
OCaml, like SML, have the syntax for defining their own operators. |> is defined, to my knowledge, both in the standard prelude and in core.
gaius
10y ago
Since Ocaml 4 if I remember correctly
LeonidasXIV
10y ago
4.01 to be exact. Along with @@, which is kinda comparable to $ in Haskell.
j
/
k
navigate · click thread line to collapse