Quantcast
Channel: Active questions tagged ocaml - Stack Overflow
Viewing all articles
Browse latest Browse all 527

How do I read in lines from a text file in OCaml?

$
0
0

This is what I have so far. Isn't this all that you need? I keep getting the error "Error: Unbound module Std"

let r file =    let chan = open_in file in    Std.input_list (chan)

Viewing all articles
Browse latest Browse all 527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>