[Top][All Lists]

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

Re: Placement of defines

From: Sebastian Tennant
Subject: Re: Placement of defines
Date: Sat, 27 Dec 2008 15:19:12 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Quoth "Kjetil S. Matheussen" <address@hidden>:
>> Sebastian Tennant:
>> guile> ((lambda (x) (set! x "baz\n") (definer 'bar x) (display bar)) "foo\n")
>> baz
>> guile>
> Unfortunately, it's not the same. "definer" defines a global variable:
> guile> bar
> "baz
> "

Good point.  That hadn't occurred to me.  Thanks.


reply via email to

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