(************************************************************ printf_test.ml Created : Mon Jan 9 22:37:13 2006 Last modified: Mon Jan 09 22:42:23 2006 Compile: ocamlc -dtypes printf_test.ml -o printf_test # FTP Directory: sources/ocaml # ************************************************************) (** 以下のようなエラーがでる File "printf_test.ml", line 24, characters 16-17: This expression has type string but is here used with type ('a -> 'b, out_channel, unit) format = ('a -> 'b, out_channel, unit, unit) format4 format4とは!? @author Takashi Masuyama *) let f = "hello %s\n" let _ = Printf.printf f "world!" (* * Local Variables: * namazu-default-dir "/home/tak/.indexes/ocaml" * End: *)