Re: parameter config is a mess
Scott Miller <[email protected]>
| Newsgroups | gmane.comp.java.sisc.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 09, 2003 at 04:31:00PM +0100, Matthias Radestock wrote: > Scott Miller wrote: > > >I believe for proper properties, this is the case. > > What do you mean by "proper properties"? Besides, I was trying to make > the point that it should work consistently across all types of > properties. End users are not aware of the subtle differences in > property implementations. I know. By proper properties I mean properties living in the Map in DynamicEnvironment. > > >>* there is currently no way to reset the default value of a dynamic > >>parameter > >I'm not sure what you mean by this. > > Once you have defined a parameter with, say, > (make-parameter 'foo) > there is no way to change the default value (e.g. from 'foo to 'bar). > The best you can do is change the value in your current thread and pray > that all threads in your system will properly "inherit" from it. Well, you can't change the value in threads that have already been created, as they have a new dynamic environment anyway. But why wouldn't future threads inherit the value if you change it? Scott
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+lEvKr9IW4v3mHtQRAofvAJ94vLxjNSnBDwpd2TmAPyDjCROVkQCfRinZ my0l++dNuQxeYS8BDiBnPR4= =xSOk -----END PGP SIGNATURE-----