On 11/23/2012 10:55 PM, John Cowan wrote:
I meant the former, eliminating the whole idea of initial expressions. They seem to be insufficiently justified in this draft (to be sure, it says "examples needed", which I can only agree with).
There are a number of examples in the Scribble spec: http://docs.racket-lang.org/index.html I think there is a semantic/philosophical difference between initial expressions and enclosed expressions: * Initial expressions are for specifying extra optional properties and "attributes". They're often keyword arguments. * Enclosed expressions are enclosed within the literal contents, and so they're part of the data/children/components/contents of the created object. The difference isn't always clear, but it does seem a useful distinction especially for "document"-like applications. -- --Per Bothner per@xxxxxxxxxxx http://per.bothner.com/