From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA02039; Sun, 26 Oct 2003 13:18:31 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA01132 for ; Sun, 26 Oct 2003 13:18:30 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h9QCIT124172 for ; Sun, 26 Oct 2003 13:18:29 +0100 (MET) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.12.10/1.01.28121999) with ESMTP id h9QCHwcp094124 ; Sun, 26 Oct 2003 13:17:58 +0100 (CET) Received: from (george@localhost) by clipper.ens.fr (8.12.3/jb-1.1) Date: Sun, 26 Oct 2003 13:17:58 +0100 From: Nicolas George To: caml-list@inria.fr Cc: Richard Jones Subject: Re: [Caml-list] Missing tabs Message-ID: <20031026121758.GA23309@clipper.ens.fr> Reply-To: caml-list@inria.fr References: <20031026115935.GA6205@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <20031026115935.GA6205@redhat.com> User-Agent: Mutt/1.4 X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 brumaire:01 printf:01 foo:01 baz:01 faq:01 printf-like:01 printf:01 nicolas:01 nicolas:01 partially:02 string:03 variable:03 iter:03 functions:05 X-Attachments: type="application/pgp-signature" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 :) --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (SunOS) iD8DBQE/m7t1sGPZlzblTJMRAiy5AJ4vwwHhA6GL+x82Tgy6Zrvn0mL/rQCfTY4U HoeyedY64wSziClQ0/BSNXk= =Dgk8 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners