[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: can s-exprs represent a graph without eval?
So is this an indicator that pair programming is indeed a good
thing? :-)
-- Trevis
----- Original Message -----
From: "Anton van Straaten" <anton@appsolutions.com>
To: "Shriram Krishnamurthi" <sk@cs.brown.edu>;
<ll1-discuss@ai.mit.edu>
Sent: Thursday, June 19, 2003 7:19 PM
Subject: RE: can s-exprs represent a graph without eval?
Shriram Krishnamurthi wrote:
> and you want their background colors to alternate: white, grey,
white,
> grey, .... Set COLORS to
>
> '#0=("white" "grey" #0#)
>
> Now you can peel off the CAR and CDR of COLORS for as many
names as
> there are on your list.
First Guy, now you - clear evidence that these list shenanigans
are too much
for the human brain! ;) If that's Scheme, I think you mean:
'#0=("white" "grey" . #0#)