<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>please see the CLHS entry foe MAKE_HASH-TABLE, especially where
      is says of the :test<br>
      argument:<br>
      <br>
    </tt><i>te</i>st---a <a rel="DEFINITION"
href="http://www.lispworks.com/documentation/lw50/CLHS/Body/26_glo_d.htm#designator">designator</a>
    for one of the <a rel="DEFINITION"
href="http://www.lispworks.com/documentation/lw50/CLHS/Body/26_glo_f.htm#function">functions</a>
    <a rel="DEFINITION"
      href="http://www.lispworks.com/documentation/lw50/CLHS/Body/f_eq.htm#eq">eq</a>,
    <a rel="DEFINITION"
href="http://www.lispworks.com/documentation/lw50/CLHS/Body/f_eql.htm#eql">eql</a>,
    <a rel="DEFINITION"
href="http://www.lispworks.com/documentation/lw50/CLHS/Body/f_equal.htm#equal">equal</a>,
    or <a rel="DEFINITION"
href="http://www.lispworks.com/documentation/lw50/CLHS/Body/f_equalp.htm#equalp">equalp</a>.
    <br>
    <br>
    In other words, the results of using other things as :test the value
    of <br>
    the :test argument are not portably defined.<br>
    <br>
    You don't need to provide a hash-function if you use a standard test<br>
    function (one of the above).<br>
    <br>
    in CCL, you can use a non-standard test function, but you must also
    tell<br>
    MAKE_HASH-TABLE how to hash things so that two things that are
    equivalent under transport-plugin-info-equal-p)<br>
    hash to the same value<br>
    <br>
    <div class="moz-cite-prefix">On 03/05/2016 09:02 AM, Frank
      Goenninger wrote:<br>
    </div>
    <blockquote cite="mid:60C9903D-24DB-4CDD-87FD-1F1F201271B6@me.com"
      type="cite">
      <pre wrap="">Hi all:

This code:

(defun transport-plugin-info-equal-p (a b)
  (string= a b))

(defvar *transport-plugin-infos* (make-hash-table :test 'transport-plugin-info-equal-p))

produces this error; "non-standard test specified without hash-function"

Well, yes, but…. I am not required to give a hash function, at least per CLHS. Any ideas ?

Tnx!

Kind regards
   Frank

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Openmcl-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Openmcl-devel@clozure.com">Openmcl-devel@clozure.com</a>
<a class="moz-txt-link-freetext" href="https://lists.clozure.com/mailman/listinfo/openmcl-devel">https://lists.clozure.com/mailman/listinfo/openmcl-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>