Printf with automatic '\n'

Just replace ^ (string concatenation) by ^^ (format string concatenation): let warn fmt = Printf.eprintf (fmt ^^ "\n").

3 Likes