On Jan 5, 2014 3:23 AM, "Martin DeMello" <martindemello@gmail.com> wrote:
>
> Does OCaml have any equivalent to ruby's StringIO, to wrap an
> in_channel around a string and then treat it as if it were a file?
>
> martin
>

Batteries provides something similar with its BatIO.input_string function. It returns the Batteries equivalent to an in_channel.

Hez