Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
cwyers
9y ago
0 comments
Share
I've never written OCaml, just SML and F#, but I thought that OCaml didn't have the |> operator.
undefined | Better HN
0 comments
default
newest
oldest
cvik
9y ago
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
9y ago
Since Ocaml 4 if I remember correctly
LeonidasXIV
9y ago
4.01 to be exact. Along with @@, which is kinda comparable to $ in Haskell.
j
/
k
navigate · click thread line to collapse