Martin Grabmueller <[EMAIL PROTECTED]> writes:

> The problem is that I can not imagine a way to safely create unique
> symbols, since the only functions left for creating symbols are
> 
>   extern SCM scm_mem2symbol (const char*, scm_sizet);
>   extern SCM scm_str2symbol (const char*);
> 
> which both enter the symbol into the global symbol hash table.  So it
> is always possible to create symbols (i.e. with string->symbol) eq? to
> symbols returned by gensym.  Can anyone else think of a solution
> here?

one option is to make a new primitive
   extern SCM scm_mem2uninterned_symbol (const char*, size_t);

another option is to make a new "unreadable symbol" type and have
`gensym' return those.

[ I have a mild deja vu about this.  wasn't it already discussed at
  length?  if so, what was decided? ]

-- 
Our users will know fear and cower before our software. Ship it! Ship
it and let them flee like the dogs they are!
                                        -- Klingon Programmer


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

Reply via email to