2008/1/18 Sukit Tretriluxana &lt;<a href="mailto:tretriluxana.s@gmail.com">tretriluxana.s@gmail.com</a>&gt;:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>I don&#39;t know if it&#39;s been asked before. I just wonder if GHC supports some sort of one-liner program that can be specify right as the argument to either ghci or runghc program. In perl, they have something like 
<br><br>perl <b>-e</b> &#39;print &quot;Hello&quot;&#39;<br><br>Do we have similar thing with GHC?</blockquote><div><br><br>&nbsp;ghc -e &#39;putStrLn &quot;Yes, we do.&quot;&#39;<br></div><div><br><br></div></div>