chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] hash-table-walk + hash-table-delete!


From: Kon Lovett
Subject: Re: [Chicken-users] hash-table-walk + hash-table-delete!
Date: Mon, 5 Mar 2007 11:40:10 -0800

On Mar 5, 2007, at 11:23 AM, Graham Fawcett wrote:

On 3/5/07, Kon Lovett <address@hidden> wrote:
perversity tends to the maximum.

I see you've been reading my code. ;-)

However I think a '(hash-table-remove! hash-table (-> key value
boolean))' procedure should be added to "extras.scm" just to be
"safe".

Could you please explain that signature? I don't know how to interpret
your (-> ...) form.

A strict prefix form:

(-> key value boolean) is (key value -> boolean) but should be (object object -> boolean) since there are no key & value types.

Multi-valued signatures are (-> ... (values ...)), and unspecified are
(-> ... unspecified-object). (or (-> ... (void)) when Chicken.)


Cheers,
Graham





reply via email to

[Prev in Thread] Current Thread [Next in Thread]