Re: External representation John Cowan 10 Sep 2015 21:52 UTC

Per Bothner scripsit:

> It may be cleaner to use the escaped-expression syntax with square brackets:
> &hash[expr]

That's what I meant to write, yes.

>
> SRFI-108 is flexible enought to allow:
>   &hash[(key1 . val1) (key2 . val2)]
> where key1 val1 key2 val2 are all expressions.

But then again, just &hash[key1 val1 key2 val2] is probably enough.

> I don't know what the right answer is; just pointing out that
> using the SRFI-108 mechanism requires some thought and work.

Indeed.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
SAXParserFactory [is] a hideous, evil monstrosity of a class that should
be hung, shot, beheaded, drawn and quartered, burned at the stake,
buried in unconsecrated ground, dug up, cremated, and the ashes tossed
in the Tiber while the complete cast of Wicked sings "Ding dong, the
witch is dead."  --Elliotte Rusty Harold on xml-dev