> XHashTable?

Ah, before I forget. XHashTable in my opinion is not going to replace
HashTable, but rather Table. (Not at the moment, of course, but that
would be my plan.)

Currently, XHashTable would probably already be useful as a replacement
for AssociationList, i.e. something like that.

Table(Key : SetCategory, Entry : Type):Exports == Implementation where
    Exports ==> Join(TableAggregate(Key, Entry), finiteAggregate)

    Implementation ==> InnerTable(Key, Entry,
        if hashable(Key)$Lisp then HashTable(Key, Entry, "UEQUAL")
          else XHashTable(Key, Entry))

What do you think?

But maybe it's too early since I don't yet have such a replacement
covered by a heavy testsuite.

Ralf

-- 
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.

Reply via email to