bug-guile
[Top][All Lists]
Advanced

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

FIXED: [Bug-guile] Problem with symbol-pref


From: Dirk Herrmann
Subject: FIXED: [Bug-guile] Problem with symbol-pref
Date: Wed, 20 Sep 2000 11:29:11 +0200 (MEST)

On 19 Sep 2000, Keisuke Nishida wrote:

> The current Guile's symbol-pref returns #f for pre-defined symbols:
> 
>   % guile -q
>   guile> (symbol-pref 'foo)
>   ()
>   guile> (symbol-pref 'quote)
>   #f
>   guile> (symbol-pref 'assq)
>   #f

Now, for all symbols symbol-pref should initially deliver '().  Thanks for
pointing this out.  However, instead of symbol-pref you should rather use
symbol-property, set-symbol-property! and symbol-property-remove!.
Currently these are defined in terms of symbol-pref, but I'd like to
remove that function in favor of the generic property interface.

Best regards
Dirk



reply via email to

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