Wikipedia's definition supports mine. In fact it says explicitly: "Associative arrays are very closely related to the mathematical concept of a function with a finite domain." You undoubtedly think that when it parenthetically refers to "sets" in: "each key is associated with one value (or set of values)" that it is therefore allowing general relations as opposed to restricting to functional relations. Its not. Set theory reifies the "set" as a value.

Appealing to the group is no argument at all. I don't care how many "monks" say something -- especially when it isn't even wrong (to quote W. Pauli). For instance, I never took issue with the desirability of expressing relations. I just don't like it when people go about doing stupid implementations of lookups. When people try to justify it by saying relations are valuable, it just multiplies the stupidity with irrelevance. When I show how to do a better implementation of relations just to play along and am further insulted, it progresses from stupid to comical.


In reply to Re^18: the annoying keys "key" and "value" by jabowery
in thread the annoying keys "key" and "value" by jabowery

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.