title: How do you remove every instance of a list from another list?
body: <p>I have a list</p>
  
  <pre><code>val l = List(1,2,3,2,6,4,2,3,4,2,1,3,6,3,2)
  </code></pre>
  
  <p>and I want to remove every instance of a particular sequence such as <code>(2,3)</code></p>
  
  <p>So the desired output is...</p>
  
  <pre><code>List(1,2,6,4,4,2,1,3,6,3,2)
  </code></pre>
  
  <p>What is the easiest/most idiomatic way to accomplish this in Scala?</p>
  
  <p>I've tried doing this so far..</p>
  
  <pre><code>l.sliding(2).filter{ _!=List(2,3) }
  </code></pre>
  
  <p>but then I can't figure out to go from there, which made me wonder if I'm on the right track.</p>