Ongoing work, maps and dictionaries scgmille@xxxxxx (10 Nov 2003 03:47 UTC)
Re: Ongoing work, maps and dictionaries Bradd W. Szonye (10 Nov 2003 20:11 UTC)
Re: Ongoing work, maps and dictionaries scgmille@xxxxxx (10 Nov 2003 20:42 UTC)
Re: Ongoing work, maps and dictionaries Jens Axel Søgaard (10 Nov 2003 22:46 UTC)

Re: Ongoing work, maps and dictionaries scgmille@xxxxxx 10 Nov 2003 20:42 UTC
On Mon, Nov 10, 2003 at 12:11:09PM -0800, Bradd W. Szonye wrote:
> > The current draft has this change, with a Map type for
> > single-key->single-value collections, and a Dictionary subtype for
> > single-key->multiple-value collections.
>
> Not too happy about the specific name choices, though. Set theory calls
> a MxN mapping a "relationship" or just "mapping." Mx1 mappings are
> usually called "partial functions" or "functions" (depending on whether
> the mapping covers the entire domain). In other words, "mapping" is the
> more general name.

Thats true in the literature but confusing as you note.  Its consistent
though with the names used by a couple of other collection APIs.
Dictionary at least Just Makes Sense, as real dictionaries bind words to
one or more definitions.

	Scott