Re:Generating shell scripts from haskell using a shell monad
by tobias2014 on Wednesday December 24, 2014 @08:49PM
(#8795160)
Interesting, why not try to build this based on Shelly? (http://hackage.haskell.org/package/shelly)
[ Parent
| on HN ]
Re:Generating shell scripts from haskell using a shell monad
by joeyh on Wednesday December 24, 2014 @10:06PM
(#8795275)
I wrote this with shelly open in another window; it's intentionally got some similarities. It might be possible to extend shelly's Sh monad so it can generate shell code, rather than its current behavior of running IO actions, but that seems like a stretch to me.