Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* ocaml 2.02 bug: curried printf
@ 1999-03-06  1:38 William Chesters
  1999-03-12 15:00 ` Xavier Leroy
  0 siblings, 1 reply; 10+ messages in thread
From: William Chesters @ 1999-03-06  1:38 UTC (permalink / raw)
  To: caml-list

This used to work in 2.01, but 2.02 outputs the wrong thing:

Cette programme-ci a fonctionné correctement avec 2.01; avec 2.02 non
plus:

	open Printf
	open List
	open String

	let udt = [1; 2; 3] ;;

	print_endline (concat " " (map (sprintf "foo%d") udt)) ;;
	print_endline (concat " " (map (fun s -> sprintf "foo%d" s) udt)) ;;

	iter (printf "foo%d") udt; print_newline () ;;
	iter (fun s -> printf "foo%d" s) udt; print_newline ()



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-03-29 18:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-03-06  1:38 ocaml 2.02 bug: curried printf William Chesters
1999-03-12 15:00 ` Xavier Leroy
1999-03-12 15:31   ` William Chesters
1999-03-19  8:47   ` another approach to sprintf (Re: ocaml 2.02 bug: curried printf) Eijiro Sumii
1999-03-23 16:17     ` Xavier Leroy
1999-03-24 19:37       ` John Prevost
1999-03-25 13:29         ` Christian Lindig
1999-03-25 20:52           ` John Prevost
1999-03-29 16:31         ` Xavier Leroy
1999-03-24 23:48       ` Frank A. Christoph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox