[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Restoration of Session Variables
From: |
Neil Jerram |
Subject: |
Re: Restoration of Session Variables |
Date: |
Fri, 20 Oct 2006 21:49:00 +0100 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Volkan YAZICI <address@hidden> writes:
> Hi,
>
> I'm executing seperate procedures in the same Guile session initialized
> by scm_init_guile(). Just after initialization, some global definitions
> get loaded. While executing supplied procedures sequentially, I want to
> restrict their access to some variables. Namely I want to set some
> definitions as read-only. Is this possible?
>
> I tried playing with fluids and dynamic states but couldn't figure out a
> solution. I'd be very appreciated to hear any kind of suggestion.
Not sure I completely understand. Can you give an example of one of
the globals that you want to be read-only, and of an eval that would
try - and should fail - to change it?
Regards,
Neil