title: What is the use of ::: (triple colons) in Scala
body: <p>I am new to scala..I came across a concept where it says like below:   </p>
  
  <pre><code>{ val x = a; b.:::(x) }   
  </code></pre>
  
  <blockquote>
    <p>In this block a is still evaluated before b, and then the result of
    this evaluation is passed as an operand to b’s ::: method</p>
  </blockquote>
  
  <p>What is the meaning of above  statement..<br>
  I tried like below:</p>
  
  <p>var a =10<br>
  var b =20<br>
  What should be the result i should expect.<br>
  Can somebody please give me an example...</p>
  
  <p>Thanks in advance....</p>