Ralf Hemmecke wrote:
>
> On 03/19/2012 06:24 PM, Waldek Hebisch wrote:
> > Ralf Hemmecke wrote:
> >>
> >> Personally, I tend to agree that there should be a hashtable that does
> >> not impose SetCategory on its second argument. Of course, one cannot
> >> output such a table, but maybe the user doesn't want output anyway.
>
> > SetCategory is not very important, but BasicType (that is equality)
> > is crucial.
>
> I just browsed a bit through the exports of HashTable. I cannot find a
> real need for = for the "Entry" parameter. Maybe, I've overlooked something.
>
Well, HashTable uses Lisp "equality" (I use quotes because Lisp
gives you a few choices which not necessarly agree with your
notion of equality).
My point was about hashtable in general: by definition hashtable
is supposed to find entry with equal key, so you need equality
of keys to _specify_ what hashtable is doing. Of course,
you could specify different name for equality, but I am not
sure how much gain it is.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.