Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Missing tabs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-10-26 (12:18)
From: Nicolas George <>
Subject: Re: [Caml-list] Missing tabs
Le quintidi 5 brumaire, an CCXII, Richard Jones a 'ecrit:
> # List.iter (printf "\t%s\n") ["foo"; "bar"; "baz"; "buz"];;

This is a FAQ: you can not partially apply the format string of
printf-like functions. Try (fun x -> printf "\t%s\n" x) instead.

And please note that 'buz' has never been reported as a metasyntactic
variable :)