Reading from handles, files, and processes as lazy lists. #
Read lines of text from a handle, as a lazy list in IO
.
Instances For
Read lines of text from a file, as a lazy list in IO
.
Instances For
def
MLList.runCmd.put
(child : IO.Process.Child { stdin := IO.Process.Stdio.piped, stdout := IO.Process.Stdio.piped, stderr := IO.Process.Stdio.piped })
(input : String)
:
IO
(IO.Process.Child
{ stdin := IO.Process.Stdio.null, stdout := IO.Process.Stdio.piped, stderr := IO.Process.Stdio.piped })