There's some plans to allow more flexible overloaded list syntax that, once done, would allow list style notation for static sized tuples/lists. But it's probably not gonna be mature till ghc 7.14 at the current rate. Hopefully 7.12, but more likely 7.14<span></span><br><br>On Monday, June 1, 2015, KC <<a href="mailto:kc1956@gmail.com">kc1956@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I'm a part time tutor even though I don't look Elizabethan </p>
<p dir="ltr">I was trying to lower the learning curve for students </p>
<p dir="ltr">Maybe I'll point them to <br>
<a href="http://dev.stephendiehl.com/hask/" target="_blank">http://dev.stephendiehl.com/hask/</a><br>
And<br>
Data.Vector<br></p>
<p dir="ltr">--<br>
--</p>
<p dir="ltr">Sent from an expensive device which will be obsolete in a few months! :D</p>
<p dir="ltr">Casey<br>
    </p>
<div class="gmail_quote">On Jun 1, 2015 1:35 PM, "Brandon Allbery" <<a href="javascript:_e(%7B%7D,'cvml','allbery.b@gmail.com');" target="_blank">allbery.b@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 1, 2015 at 4:29 PM, KC <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','kc1956@gmail.com');" target="_blank">kc1956@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Then a tuple might work better as input to a function to index into an array</p>
<p dir="ltr">e.g. myArray  (5)</p></blockquote></div><br>Aside from 1-tuples not being a thing? (That's the same as (myArray 5).)<br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="javascript:_e(%7B%7D,'cvml','allbery.b@gmail.com');" target="_blank">allbery.b@gmail.com</a>                                  <a href="javascript:_e(%7B%7D,'cvml','ballbery@sinenomine.net');" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>
</blockquote></div>
</blockquote>