title: How to access a list in OCaml
body: <p>I want to write a function that could check every item in a list is <code>true</code> or <code>false</code>. If at least one element is <code>false</code>, it will return <code>true</code>, so that:  </p>
  
  <pre><code>assert_eq "checkFalse [true; false; true]" (checkFalse [true; true; true]) false;
  assert_eq "checkFalse [false; false]" (checkFalse [false; true]) true;
  </code></pre>
  
  <p>I am an absolute beginner in OCaml and I don't know how to approach this. I tried using a for loop, something like:</p>
  
  <pre><code>let rec checkFalse (bools: bool list) : bool =
  for i = 0 to bools.length do
      if bools.length == false then false
      else... (I don't know how to continue)
  </code></pre>
  
  <p>Then it said "Unbound record field...."</p>
  
  <p>I also tried using find like: 
  <code>if (find false bools != Not_found) then true else false</code></p>
  
  <p>But my ways did not work. I came from a Java background.</p>