title: OCaml cons (::) operator?
body: <p>In OCaml, is there a way to refer to the cons operator by itself?</p>
  
  <p>For example, I can use <code>(+)</code> and <code>( * )</code> as <code>int -&gt; int -&gt; int</code> functions, but I cannot use <code>(::)</code> as a <code>'a -&gt; 'a list -&gt; 'a list</code> function, as the following example show:</p>
  
  <pre><code># (+) 3 5;;
  - : int = 8
  # ( * ) 4 6;;
  - : int = 24
  # (::) 1 [2;3;4];;
  Error: Syntax error: operator expected.
  </code></pre>
  
  <p>Is there a way to produce a result like <code>(::)</code> other than with <code>fun x y -&gt; x::y</code>? And does anyone know why <code>(::)</code> wasn't implemented in OCaml?</p>