Re:Use Haskell for shell scripting
by Gabriel439 on Friday January 30, 2015 @02:40PM
(#8973960)
There are two ways you can embed that within `turtle`. You can either embed each step as its own concurrent process, like this:
Or you can just embed the entire thing within a single `inshell` command:
The reason this works is that the type of `inshell` is:
This leads you stream to any shell command's input and read the command's output also as a stream.
[ Parent
| on HN ]
There are no comments on this comment yet.