caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: David Brown <caml-list@davidb.org>
To: briand@aracnet.com
Cc: caml-list@pauillac.inria.fr
Subject: Re: [Caml-list] baffled by semicolon
Date: Wed, 25 Aug 2004 20:30:24 -0700	[thread overview]
Message-ID: <20040826033024.GA18675@old.davidb.org> (raw)
In-Reply-To: <16685.22393.76718.150882@soggy.deldotd.com>

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


  reply	other threads:[~2004-08-26  3:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26  3:22 briand
2004-08-26  3:30 ` David Brown [this message]
2004-08-26  4:18 ` Alex Valdez
2004-08-26  5:05   ` briand
2004-08-29  4:45     ` William Lovas
2004-08-30  7:12 ` Baffeld by manual (Was: [Caml-list] baffled by semicolon) Florian Hars
2004-08-30  8:06   ` skaller
2004-08-30  8:23     ` Radu Grigore
2004-08-30  8:25     ` Ville-Pertti Keinonen
2004-08-30 11:07       ` skaller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040826033024.GA18675@old.davidb.org \
    --to=caml-list@davidb.org \
    --cc=briand@aracnet.com \
    --cc=caml-list@pauillac.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).