From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-06-06 09:53:38
On Friday 06 June 2003 10:39 am, Vladimir Prus wrote:
> > I can appreciate the usefulness of the current behavior, and I also know
> > that there is a workaround (.default_value("true")), but this only works
> > if you notice the unexpected behaviour!
> > The only good solution I can see is to either make the bool behaviour
> > configurable, or somehow force the user to choose so he will notice.
> I think the latter is possible. I can make behaviour of 'parameter'
> function the same for all types, and introduce another function, say
> 'switch' for current ('false' as default value) behaviour. You'd have to
> ("unified", switch("arg", &b), "unified format");
> does this make sense?
That sounds good.