title: Is there an operator for function composition in Julia?
body: <p>Say I have two functions:</p>
  
  <pre><code>f(x) = x^2
  g(x) = x + 2
  </code></pre>
  
  <p>Their composition is the function</p>
  
  <pre><code>h(x) = f(g(x))
  </code></pre>
  
  <p>Is there an operator for function composition in Julia? For example, if <code>*</code> was an operator for function composition (which it isn't), we could write:</p>
  
  <pre><code>h = f * g
  </code></pre>
  
  <p><strong>P.S.</strong> I know I can define it if I want to, </p>
  
  <pre><code>*(f::Function, g::Function) = x -&gt; f(g(x))
  </code></pre>
  
  <p>Just asking if there is an operator form already in Julia.</p>