From: tomas@fabula.de
Cc: ttn@glug.org, rlb@defaultvalue.org, guile-devel@gnu.org,
guile-user@gnu.org
Subject: Re: Items blocking release 1.6.1 (2002-04-21)
Date: Thu, 25 Apr 2002 11:09:14 +0200 [thread overview]
Message-ID: <aa8h5q$o6$2@main.gmane.org> (raw)
In-Reply-To: <87wuuyl1qj.fsf@zagadka.ping.de>
Hi,
it's not my intention to complicate further an already
delicate discussion, but just to supply an user's point
of view:
On Tue, Apr 23, 2002 at 08:16:20PM +0200, Marius Vollmer wrote:
[...]
> Yes. The way the old 'bound?' was implemented was a bug. The mistake
> (my mistake) back then was to fix this bug in a sub-optimal way, by
> just removing the functionality. Now it is too late to change it
> again; and changing it would be quite gratuitous, too.
>
> Using #f as the default default value is a sensible thing, I'd say,
> and should even be recommended.
As a provider of some functionality I'd sometimes like to be able
to distinguish between `value was provided' and `value was not
provided at all'. It'd be perfectly reasonable to agree on a
value which means `not provided' (like Perl's undef or Pythons
None): an user providing *such* a value hopefully knows what
she's doing...
> From a robustness standpoint,
> distinguishing between explicitely specifying a keyword with its
> default value in a function call, and not specifying it, should not be
> done. That is, it is better to say "When you don't specify the :foo
> keyword, it's value is defaulted to #f. A value of #f means bla."
> instead of "When you don't specify the :foo keyword, it means bla."
...but #f seems to be just wrong, since it's an often-used `logical'
value. Unspecified seems nice for something ``you don't specify'',
doesn't it? (I know, you were against that on a previous posting).
(BTW. I just resisted the temptation to propose '(), because
that's quite another thread ;->
Thanks
-- tomas
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2002-04-25 9:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E16zk3n-00006F-00@giblet>
2002-04-22 20:15 ` Items blocking release 1.6.1 (2002-04-21) Rob Browning
2002-04-22 20:29 ` Bill Gribble
[not found] ` <1019507383.9182.63.camel@flophouse>
2002-04-22 21:20 ` Thien-Thi Nguyen
2002-04-23 18:16 ` Marius Vollmer
[not found] ` <874ri3jxqx.fsf@raven.i.defaultvalue.org>
2002-04-22 20:52 ` Thien-Thi Nguyen
[not found] ` <E16zkn4-00009O-00@giblet>
2002-04-22 21:12 ` Rob Browning
[not found] ` <87adrvigjs.fsf@raven.i.defaultvalue.org>
2002-04-22 21:25 ` Rob Browning
[not found] ` <871yd7ify6.fsf@raven.i.defaultvalue.org>
2002-04-22 21:30 ` Rob Browning
2002-04-22 21:51 ` Thien-Thi Nguyen
[not found] ` <E16zlit-0000Ct-00@giblet>
2002-04-22 23:03 ` Rob Browning
2002-04-23 20:33 ` news
[not found] ` <87wuuyl1qj.fsf@zagadka.ping.de>
2002-04-25 9:09 ` tomas [this message]
[not found] ` <20020425090914.GA19031@www>
2002-04-25 10:02 ` rm
2002-04-28 15:58 ` Marius Vollmer
[not found] ` <20020425100254.GC19024@www>
2002-04-28 16:00 ` Marius Vollmer
[not found] ` <87662bn79b.fsf@zagadka.ping.de>
2002-04-28 20:27 ` Thien-Thi Nguyen
[not found] ` <E171vH5-0005W6-00@giblet>
2002-05-07 18:43 ` Marius Vollmer
[not found] ` <87adrnn7bp.fsf@zagadka.ping.de>
2002-04-28 20:38 ` spu
2002-04-22 20:05 Thien-Thi Nguyen
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
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='aa8h5q$o6$2@main.gmane.org' \
--to=tomas@fabula.de \
--cc=guile-devel@gnu.org \
--cc=guile-user@gnu.org \
--cc=rlb@defaultvalue.org \
--cc=ttn@glug.org \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).