<div dir="ltr"><div><div><div><div><div><div><div><div>I want to know if it is possible that I use strings without &quot;&quot;.<br><br></div><div>If I type<br></div><b>Prelude&gt;foo bar</b><br></div>which actually I mean<br>
</div><b>Prelude&gt;foo &quot;bar&quot;</b><br></div>However I don&#39;t want to type &quot;&quot;s.<br><br></div>I have noticed if <b>bar</b> is predefined or it is a number, it can be used as arguments. But can other strings be used this way? Like in bash, we can use <b>ping 127.0.0.1</b> where <b>127.0.0.1</b> is an argument.<br>
<br></div>If not, can <b>foo</b> be defined as a function so that it recognize arguments like <b>bar</b> as <b>&quot;bar&quot;</b>?<br><br><br></div>Thanks,<br></div>Yi Lu<br></div>