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

_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile

Reply via email to