title: mechanism to get element from the list
body: <p>is it possible to get element from the list in SML of New Jersey without using function head and tail, something like that:</p>
  
  <pre><code>val a = [1,2,3];
  a[1];
  </code></pre>
  
  <p>thanks in advance </p>