title: Split seq in F#
body: <p>I should split <code>seq&lt;a&gt;</code> into <code>seq&lt;seq&lt;a&gt;&gt;</code> by an attribute of the elements. If this attribute equals by a given value it must be 'splitted' at that point. How can I do that in <strong>FSharp?</strong> </p>
  
  <p>It should be nice to pass a 'function' to it that returns a bool if must be splitted at that item or no.</p>
  
  <p>Sample:
  Input sequence: <code>seq: {1,2,3,4,1,5,6,7,1,9}</code> 
  It should be splitted at every items when it equals 1, so the result should be:</p>
  
  <pre><code>seq
  {
  seq{1,2,3,4}
  seq{1,5,6,7}
  seq{1,9}
  }
  </code></pre>