title: User-defined infix operator
body: <p>I know operators in Julia are just standard functions, and I can use them using
  the ordinary prefix call syntax:</p>
  
  <pre><code>julia&gt; +(1, 2)
  3
  </code></pre>
  
  <p>However, they are also special in the sense that they can be (and are usually)
  used as infix operators:</p>
  
  <pre><code>julia&gt; 1+2
  3
  </code></pre>
  
  <p><br/></p>
  
  <p><strong>Could I define my own infix operator? If so, how?</strong></p>
  
  <p>For example:</p>
  
  <pre><code>julia&gt; α(x, y) = x+y
  α (generic function with 1 method)
  
  julia&gt; α(1, 2)
  3 # as expected
  
  julia&gt; 1α2
  # expected result: 3
  ERROR: UndefVarError: α2 not defined
  Stacktrace:
   [1] top-level scope at REPL[5]:1
  
  julia&gt; 1 α 2
  # expected result: 3
  ERROR: syntax: extra token "α" after end of expression
  Stacktrace:
   [1] top-level scope at REPL[5]:0
  </code></pre>