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

Re: can s-exprs represent a graph without eval?



On Thu 19 Jun 2003 22:07, Guy Steele - Sun Microsystems Labs wrote:
> Sometimes an circular structure can be used to "advantage".
> Consider this bit of code:
>
>   (mapcar #'+ x '#1=(1 -1))
>
> If x is (1 4 7 10), the result will be (2 3 8 9).

In what way is #1=(1 -1) circular?

-- 
Grzegorz ChrupaƂa
jabber://grzegorzc@jabber.org
website <http://pithekos.net>