From: Francois Rouaix <frouaix@liquidmarket.com>
To: Vyskocil Vladimir <vyskocil@math.unice.fr>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: Constante NIL
Date: Tue, 01 Jun 1999 09:16:55 -0700 [thread overview]
Message-ID: <199906011616.JAA24995@fiji01.liquidmarket.com> (raw)
In-Reply-To: Your message of "Mon, 31 May 1999 16:20:40 +0200." <37529AB8.B306AD5F@math.unice.fr>
> N'est t'il pas concevable de rajouter a Objectif Caml une constante
> NIL, UNDEF ou je sais pas trop comment la nommer dont la valeur serait
> '_a. Ceci permettrait d'initialiser "par defaut", par exemples, les
> variables d'instances d'une classe lorsque l'on ne possede aucune
> valeur par defaut du bon type.
In this particular case (dummy initialization value for a CamlTk
widget), you could use Widget.default_toplevel, or Widget.dummy.
It's inelegant and a bit dangerous, but neither as bad as using
a Widget.widget option type, or as drastic as adding null pointers
in the language.
--f
next prev parent reply other threads:[~1999-06-02 15:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-05-31 14:20 Vyskocil Vladimir
1999-06-01 16:16 ` Francois Rouaix [this message]
1999-06-02 7:27 ` Jean-Francois Monin
1999-06-02 19:02 ` Xavier Leroy
1999-06-14 20:48 ` Pierre Weis
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=199906011616.JAA24995@fiji01.liquidmarket.com \
--to=frouaix@liquidmarket.com \
--cc=caml-list@inria.fr \
--cc=vyskocil@math.unice.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