I was hoping to use some of the pervasives functions like open_out and output_string, but (like my experience with read_line), I’ve discovered they’re unimplemented when I’m using Bucklescript/Javascript. For read_line, a couple of folks pointed me to nice bindings of something that was sort-of-like read_line, and enough to get my program going.
Is there something similar for some of the file-handling (e.g., reading/writing) stuff, or am I going to have to learn some actual Javascript to get this done?