On Tue, 22 Feb 2005, Larry Wall wrote:
[snip]On Mon, Feb 21, 2005 at 10:32:15PM -0800, Jonathan Lang wrote: : ...then you've got the notion of Fuzzy Logic Sets, where the key would be
But using values for degree of membership is an interesting idea. On the other hand, if we ever have numeric datatypes with built-in error bars, those could generalize to keys with an associated certainty of some sort, and then you can leave the values out of it. In which case a junction might have varying degrees of likelihood varying between noneness and allness. It's all too powerful for a Pooh like me, though... :-)
OTOH all these discussions seem to imply that there is some demand (by me, for one!) for a "set-like" builtin data-type as well as for the already existing hashes and junctions and of course for interoperability between any two of them, e.g. in terms of automatic conversions where needed, etc. Or maybe for an "ancestor" data type of all three of them that can be specialized to any? (I don't think this option is viable, but that final remark is intriguing in this sense...)
Michele --
- if using perl on Unix isn't that simple as on PCs
It is not PC to use "PC" to mean "Windows box". :-) - Brian McCauley in clpmisc, "Re: Using perl over network (NFS)"