4 ms·
The pipe operator's still there.
by chenglou 10y ago
The pipe operator's still there.
- cwyers 10y agoI've never written OCaml, just SML and F#, but I thought that OCaml didn't have the |> operator.
- cvik 10y agoOCaml, 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 agoSince Ocaml 4 if I remember correctly
- LeonidasXIV 10y ago4.01 to be exact. Along with @@, which is kinda comparable to $ in Haskell.