[Top][All Lists]

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

Re: Release 1.6 critical TODO items.

From: Rob Browning
Subject: Re: Release 1.6 critical TODO items.
Date: Wed, 30 Jan 2002 10:53:16 -0600
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu)

Martin Grabmueller <address@hidden> writes:

> Some time ago, I have proposed a simple fix: Provide a function
> scm_mem2uninterned_symbol (sketched below) which is the same as
> `scm_mem2symbol', but does not consult the symbol table before
> creating the symbol (attention, untested...).
> scm_mem2uninterned_symbol (const char *name, size_t len)

OK, so I added this to symbol.c (do we want it static or public?) and
switched gensym to use it.  However, testing gives some interesting

  $ guile
  guile> (gensym)                 
  guile> (eq? '%%gensym1 (gensym))
  guile> (define foo (gensym))    
  guile> (eq? '%%gensym3 foo)     
  guile> foo

Somehow even just assigning (gensym)'s result to foo interns it.  Is
that expected?

Rob Browning
rlb,, and
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

reply via email to

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