[racket-dev] Square-bracket-sensitive macros in Scribble sandboxes

From: Neil Toronto (neil.toronto at gmail.com)
Date: Fri Nov 23 15:47:56 EST 2012

On 11/22/2012 11:33 AM, Eli Barzilay wrote:
> Two days ago, Neil Toronto wrote:
>> Anyway, it occurred to me that I need to provide a more robust way
>> to generate code for literal arrays anyway. Keywords are more easily
>> preserved by macros than syntax properties:
>
> Why not use vector syntax #(...) instead of [...]?

That is a fantastic idea. Thanks!

(The problem I was having with head identifiers like `array-row' was 
that they got in the way when I was reading the array. Vector syntax 
solves that neatly.)

Neil ⊥


Posted on the dev mailing list.