Comment

Comment by Blikkentrekker

I feel languages should just have some kind of sugar or operator for this, in fact in Ocaml the |> operator exists where

   <exp> |> <exp2>
   <exp2>(<exp>)
Are just one and the same

For a variadic language you'd need something more involved though. But some kind of syntax can probably be invented in some language.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton