News for hackers. Stuff that matters.
Re:Show HN: Purely Functional Scripting by maddyboo on Sunday August 04, 2019 @05:41AM (#20605426)
> TopShell can use such programs, but TopShell scripts can't currently become such programs. I'm still looking for the right way to do this - one way would be to have a `main : System -> Stream Bytes -> Stream Bytes` where `System` contains command line arguments and so on, and `Stream Bytes -> Stream Bytes` is stdin to stdout.

That actually sounds perfect. If you were able to implement this, I could see this tool coming in very handy for tons of things.

I’ll be keeping a close eye on the project, thank you for your thorough response!

There are no comments on this comment yet.