<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 5, 2015 at 6:35 PM, James Crayne <span dir="ltr"><<a href="mailto:jim.crayne@gmail.com" target="_blank">jim.crayne@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Note the hk script gives you a richer default environment, including System.Environment and a bunch of other commonly used modules. <br></div></div></div></blockquote><div><br></div><div>Been there, done that :-). My eddie program "cabal install eddie" is specifically designed for using haskell in shell scripts, so has a slew of options for pre & post-processing the input and handling files as arguments.</div><div><br></div><div>It got some traction for windows users, but not on systems that have the unix tools set. The unix tools already cover most common use cases, with languages designed for it. On those systems, it's more popular for testing expressions before putting them in a program. Looks like hk will be better for that.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div></div><div>Not that I am especially proud, the implementation could be cleaned up a lot I am sure, but the user interface is failry nice I think.</div></div></div></blockquote><div><br></div><div>Ditto for eddie.  My first real program, now four years old. it's desperately in need of a rewrite, but I've failed to find time for it for a year or so now.</div></div></div></div>