[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] Symbols and immutability
From: |
felix winkelmann |
Subject: |
Re: [Chicken-hackers] Symbols and immutability |
Date: |
Mon, 14 Apr 2008 14:34:12 +0200 |
On Mon, Apr 14, 2008 at 10:38 AM, Peter Bex <address@hidden> wrote:
>
> When using ->string on a symbol and calling a destructive string
> procedure on the result, you mutate the original symbol everywhere it's
> used. After that, the mutated symbol is not eq? to the same symbol
> when made afresh.
This is of course a bug. ->string should copy the string, as does
symbol->string.
cheers,
felix