Problems after switching to Base

This is because Base doesn’t include IO. You need Stdio for that, at which point, this works.

open Base
open Stdio

let pr_str_list xs =
  List.iter ~f:(printf "%s, ") xs