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 FAA22531; Thu, 26 Aug 2004 05:30:27 +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 FAA22465 for ; Thu, 26 Aug 2004 05:30:26 +0200 (MET DST) Received: from mail.davidb.org (adsl-64-172-240-129.dsl.sndg02.pacbell.net [64.172.240.129]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id i7Q3UOhK007733 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 26 Aug 2004 05:30:26 +0200 Received: from davidb by mail.davidb.org with local (Exim 4.34 #1 (Debian)) id 1C0Ay0-0004s7-0r; Wed, 25 Aug 2004 20:30:24 -0700 Date: Wed, 25 Aug 2004 20:30:24 -0700 From: David Brown To: briand@aracnet.com Cc: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] baffled by semicolon Message-ID: <20040826033024.GA18675@old.davidb.org> References: <16685.22393.76718.150882@soggy.deldotd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16685.22393.76718.150882@soggy.deldotd.com> User-Agent: Mutt/1.5.6i X-Miltered: at concorde with ID 412D5950.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 caml-list:01 baffled:01 semicolon:01 2004:99 gmisc:01 extraneous:01 0700,:01 dave:03 wrote:03 library:03 argument:03 argument:03 let:04 let:04 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, Aug 25, 2004 at 08:22:33PM -0700, briand@aracnet.com wrote: > let area = GMisc.drawing_area ~packing:window#add () > ;; > > let w = area#misc#realize () > ; Without looking at the library you are using, I would guess that the 'realize' method doesn't take an argument. As such, the () is extraneous, although I'm not sure how it is parsing. The 'drawing_area" is a function and not a method, and is required to have at least one required argument. Dave ------------------- 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