[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Minor last-minute issues
On 09/18/2012 02:32 PM, David A. Wheeler wrote:
I mentioned this before but it seems to have gotten lost: I recommend
that [foo bar] in c-expressions be treated as ($bracket-list$ foo bar)
rather than (bracketaccess foo bar). This is compatible with Kawa,
which is the only Scheme in my test suite to treat square brackets in
this way. ...
I'm not sure I understand. I intentionally didn't discuss unprefixed [...], so that people can do what they want; curly-infix doesn't define anything for the unprefixed case. Does Kawa actually map x[foo bar] to ($bracket-list$ x foo bar)?
No. Kawa maps:
[foo bar] to ($bracket-list$ foo bar)
x[foo bar] to ($bracket-apply$ x foo bar)