[Nix-dev] Use Haskell for Shell Scripting

Oliver Charles ollie at ocharles.org.uk
Fri Jan 30 17:07:14 CET 2015

Not sure if you're serious, but the last time we considered even rewriting
the scripts in C, people were mostly against that. However, I guess with
this the major opposition (can't read the source code easily) goes away,
because you can still cat the scripts. However, I'd imagine that the
startup overhead is now higher than bash, and the size of closures goes up
a lot (you have to pull in the many hundreds of MB that GHC needs).

So while it's a nice idea, I don't think it's practical to be done system
wide - though I'm all for doing it locally!

-- ocharles

On Fri, Jan 30, 2015 at 4:02 PM, Joe Hillenbrand <joehillen at gmail.com>

> http://www.haskellforall.com/2015/01/use-haskell-for-shell-scripting.html
> Time to replace all shell scripts in Nix with Haskell?
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150130/70e50fcd/attachment-0001.html 

More information about the nix-dev mailing list