I looked at "sweeten.sscm" and confirmed that my initial suspicions appear to 
be correct.

There are only 3 lines where "(" begins an it-expression
and the n-expression was different than the t-expression:
     case x
       (quasiquote)       '+++CL-QUASIQUOTE-abbreviation+++
       (unquote)          '+++CL-UNQUOTE-abbreviation+++
       (unquote-splicing) '+++CL-UNQUOTE-SPLICING-abbreviation+++
       else x

In many cases a "(" starts an it-expression, but the n-expr and t-expr
are the same anyway, so the "ambiguity" doesn't even happen often. E.G.:
    cond
      (eof-object?(char))
      eqv?(char #\;)
... and a number of cases where it was the leaf result like this:
     '()

There are similar circumstances where "{" is right after the indent.
Often the t-expression and n-expression are the same thing,
so there's no ambiguity to resolve.  In a few cases there *is* an
ambiguity, but I think a t-expression would be a plausible default
as long as you could switch.

--- David A. Wheeler

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to