<br><br><div class="gmail_quote">On Tue, Nov 25, 2008 at 9:09 PM, cm <span dir="ltr">&lt;<a href="mailto:cm@raytheon.com">cm@raytheon.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would just like as simple an input syntax as possible (minimum of punctuation) for interactive use, for both lists and tuples. &nbsp;For instance, if all entries in a list or tuple are numbers, then I think eliminating the commas would be convenient and look nicer.<br>

<br>
As a use case, one might have<br>
&nbsp;&quot; permute (2 3 4) [7 9 11 0 1 5]&quot;, which would be a function which cyclically permutes elements 2 3 4 of a list.<br>
</blockquote></div><br>You might be interested in this article I saw on variadic functions in Haskell: <a href="http://okmij.org/ftp/Haskell/vararg-fn.lhs">http://okmij.org/ftp/Haskell/vararg-fn.lhs</a>. The first example shows how you could create a build function to create a list.<br>
<br>Michael<br>