On 5/18/05, felix winkelmann <[EMAIL PROTECTED]> wrote:
> 
>  -- procedure: hash-table-ref
>           (hash-table-ref HASH-TABLE KEY [DEFAULT])
>      Returns the entry in the given hash-table under `KEY'. If no entry
>      is stored in the table, `DEFAULT' is returned, or `#f' if
>      `DEFAULT' is not given.
> 
> 
> cheers,
> felix

You misunderstood Felix. The question is

"""
what's the rationale for

(hash-table-ref h 'non-existing-key)

returning #f instead of an error? 
"""

Returning #f is ambiguous, it could mean that the key exists with value #f!


     Michele Simionato


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to