Offical doumentation mentions only pipe-first (->). It's only available when using together with BuckleScript and doesn't exist in native or js_of_ocaml. Belt (BuckleScript standard library) is pipe-first optimized but Reason Perversives are pipe-last (|>) optimized as well as whole Js.* namespace. What are the pros and then cons of using pipe-first over pipe-last and when one should use which?
Question
Offical doumentation mentions only pipe-first (
->
). It's only available when using together with BuckleScript and doesn't exist in native orjs_of_ocaml
. Belt (BuckleScript standard library) is pipe-first optimized but Reason Perversives are pipe-last (|>
) optimized as well as wholeJs.*
namespace. What are the pros and then cons of using pipe-first over pipe-last and when one should use which?Answer
This question hasn't been answered yet.
Further reading