fork download
  1. open Format;;
  2. Printf.fprintf Pervasives.stdout "Hello1\n";;
  3. Format.fprintf std_formatter "Hello2\n";;
  4. Format.fprintf (formatter_of_out_channel Pervasives.stdout) "Hello3\n";;
Success #stdin #stdout 0.01s 2780KB
stdin
Standard input is empty
stdout
Hello1
Hello2