Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on For the Love of Pipes. Parent comment
The shell have the weird(?) behavior of ONE input and TWO outputs (stdout, stderr).
Also, can redirect in both directions. I think a language to be alike pipes, it need each function to be alike:
fun open(...) -> Result(Ok,Err)
open("file.txt") |> print !!> raise |> print
There are no comments on this comment yet.
The shell have the weird(?) behavior of ONE input and TWO outputs (stdout, stderr).
Also, can redirect in both directions. I think a language to be alike pipes, it need each function to be alike:
and have the option of not only chain the OK side but the ERR: exist something like this???