Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Nicolas George <nicolas.george@e...>
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 :)