8 ms·
Others have show languages have some kind of pipe support, but not exactly as the shell. The shell have the weird(?) behavior of ONE input and TWO outputs (std
by mamcx 8y ago
Others have show languages have some kind of pipe support, but not exactly as the shell.
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)
and have the option of not only chain the OK side but the ERR:
open("file.txt") |> print !!> raise |> print
exist something like this???