<div dir="ltr">Actually, I dont know if I have asked good question to what I need.<div>So, I would like to run the process:<br><br></div><div>stack ghc -- --interactive -XOverloadedStrings<br></div><div><br></div><div>and then, somehow from 'outside' push string commands to it...</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 2:08 PM Paum B. <<a href="mailto:fraybauhaus@gmail.com">fraybauhaus@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">oh, thats good - thank you!<div><br></div><div>is there any example in bash?</div><div><br></div><div>thnx</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 2:02 PM Paul <<a href="mailto:aquagnu@gmail.com" target="_blank">aquagnu@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>Sure. I remember old days Tcl/Tk utility "expect" for such
interactive scripting sessions. Open a pipes and communicate with
process :) Today there are tools similar to "expect" for scripting
command line utilities.</p>
<p>Also Emacs works with GHCi (interro) in such way. Also Dante
IMHO. Visual Studio Code Haskelly and Haskerro, etc..<br>
</p>
<p><br>
</p>
<br>
<div class="m_-7908915437949624170m_-2795046598563041963moz-cite-prefix">24.08.2018 14:58, Paum B. wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi List,
<div><br>
</div>
<div>It is possibile to run:</div>
<div><br>
</div>
<div>stack ghc -- --interactive -XOverloadedStrings<br>
</div>
<div><br>
</div>
<div>and then send to it strings (commands) externally?</div>
<div>Thanks</div>
<div><br>
</div>
<div>paum</div>
</div>
<br>
<fieldset class="m_-7908915437949624170m_-2795046598563041963mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
Beginners mailing list
<a class="m_-7908915437949624170m_-2795046598563041963moz-txt-link-abbreviated" href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a>
<a class="m_-7908915437949624170m_-2795046598563041963moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org" target="_blank">Beginners@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners</a><br>
</blockquote></div>
</blockquote></div>