title: How do I read in lines from a text file in OCaml?
body: <p>This is what I have so far. Isn't this all that you need? I keep getting the error "Error: Unbound module Std"</p>
  
  <pre><code>let r file =
      let chan = open_in file in
      Std.input_list (chan)
  </code></pre>