[Prev][Next][Index][Thread]

Re: changing comparator for <table>?



Hi Doug,

make a new <table> subclass and specialize the GF table-protocol on it.

For an example see the od-loader patches I sent you a while ago.

Hope this helps.

    Gabor

----------
>From: dauclair@hotmail.com
>To: info-dylan@ai.mit.edu
>Subject: changing comparator for <table>?
>Date: Son, 11. Feb 2001 22:15 Uhr
>

> Okay, so <object-table> compares by \== and <equal-table> (a gwydion-
> dylan class) uses \=.  Is there a way to use <table> to create a class
> that compares keys using a user-defined comparer?
>
> (I am aware of Matthias' assoc-list implementation for Gwydion Dylan,
> but I was looking for something that behaves like a table).
>
> Sincerely,
> Doug Auclair
>
>
> Sent via Deja.com
> http://www.deja.com/
>