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 KAA31459; Tue, 30 Sep 2003 10:04:00 +0200 (MET DST) 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 KAA05029 for ; Tue, 30 Sep 2003 10:03:59 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8U83wH17690 for ; Tue, 30 Sep 2003 10:03:58 +0200 (MET DST) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1A4FUD-0006h8-00 for ; Tue, 30 Sep 2003 09:03:57 +0100 Date: Tue, 30 Sep 2003 09:03:57 +0100 To: caml-list@inria.fr Subject: Re: [Caml-list] Printf question Message-ID: <20030930080357.GA15744@redhat.com> References: <20030929215008.GA15057@redhat.com> <200309292236.AAA23653@pauillac.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309292236.AAA23653@pauillac.inria.fr> User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 printf:01 pierre:01 weis:01 bug:01 sth:99 dbh:99 sth:99 foo:01 freshmeat:01 ltd:98 compiler:01 caml:01 0200,:01 sep:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, Sep 30, 2003 at 12:36:59AM +0200, Pierre Weis wrote: > What do you mean by ``not type safe at all'' ? Well it's not a bug in the compiler. Here's an example which isn't type safe: let sth = dbh#prepare "select name from employees where id = %a" in sth#execute string_conversion "foo"; To avoid going over the same ground again, here's my original posting in this thread: http://caml.inria.fr/archives/200309/msg00294.html Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. MONOLITH is an advanced framework for writing web applications in C, easier than using Perl & Java, much faster and smaller, reusable widget-based arch, database-backed, discussion, chat, calendaring: http://www.annexia.org/freeware/monolith/ ------------------- 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