guile-user
[Top][All Lists]
Advanced

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

Re: Gurus? Care to re-explain the absense of gh_set_x() for me?


From: Miroslav Silovic
Subject: Re: Gurus? Care to re-explain the absense of gh_set_x() for me?
Date: 15 Jul 2001 23:58:30 +0200

Rob Browning <address@hidden> writes:

> However, I'm not sure if this variable is maintained across redefines.
> I.e. I suspect that if you had (mixing scm and perl side actions):
> 
>   (define foo 4)
>   $foo = 5;
>   (set! foo 9)
>   print "$foo\n";
> 
> you'd get 9 printed as expected, but if you had:
> 
>   (define foo 4)
>   $foo = 5;
>   (define foo 9)
>   print "$foo\n";
> 
> I'm not sure what you'd get.

By r5rs, top-level define of a defined value is the same as set!.

-- 
How to eff the ineffable?



reply via email to

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