On 5/19/05, felix winkelmann <[EMAIL PROTECTED]> wrote:
> On 5/19/05, Michele Simionato <[EMAIL PROTECTED]> wrote:
> >
> > Yes, this is what I am doing now, but it is ugly, too low-level for my
> > taste.
>
> No, it's perfectly fine... ;-)
>
> > Felix, I give you an ultimatum: or you raise an exception,
> > or you give me a hash-table-has-key? function! ;-)
> >
>
> okok...
>
I am thinking of hash-tables containing booleans, for instance users
with a given permission, and I want to know if the user is in the table or
not. Perhaps the negative version "hash-table-missing-key?" is more useful
than the positive version "hash-table-has-key?", since tipically I want
to raise an error if the key is missing.
Michele
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users