guile-user
[Top][All Lists]
Advanced

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

Re: case syntax and symbols


From: Ludovic Courtès
Subject: Re: case syntax and symbols
Date: Tue, 22 Mar 2005 10:17:03 +0100
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux)

Marius Vollmer <address@hidden> writes:

> Also (and don't try this at home kids):
>
>   (define 'x (* x x))
>   '2
>   => 4

Obviously, I did try this at home.  :-)  Actually, you meant something
like:

  guile> (define x 2)
  guile> (define 'x 3)
  guile> x
  2
  guile> 'x
  3

Right?  The example you gave doesn't produce anything funny unless `x'
was previously defined.

Thanks,
Ludovic.




reply via email to

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