bug-guile
[Top][All Lists]
Advanced

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

Re: `intern-symbol' takes string or symbol?


From: Marius Vollmer
Subject: Re: `intern-symbol' takes string or symbol?
Date: 22 Jul 2001 21:29:08 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Thien-Thi Nguyen <address@hidden> writes:

>  guile> (define o (module-obarray (current-module)))
>  guile> (intern-symbol o "hello")

You should not do this.  Use functions like `module-obarray-ref' and
`module-obarray-set!' instead.

> although this proc is marked "deprecated" (along w/ everything else
> in libguile/symbols-deprecated.[hc]), it should still be fixed.

I don't think so.  What would be the point?  The obarray stuff is
doing strange things anyway, and is not at all related to the usual
notion of `interning symbols', i.e. the job that `string->symbol'
does.



reply via email to

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