[racket] commenting out unbalanced parts of Scribble programs
At Fri, 20 May 2011 09:17:28 -0400, Prabhakar Ragde wrote:
> In Scheme I can comment out unfinished, unbalanced code:
>
> #|
>
> (define (my-function
>
> |#
>
> How do I do this in Scribble?
That only works in Scheme/Racket code if no unbalanced "|#" appears in
the region that you want to comment out, of course.
Eli made Scribble's at-exp notation more general: It lets you pick the
brackets for a comment after `@;', so you can pick a closer that isn't
used in the region to comment out.
For example, to comment out a single "}",
@;{
}
}
would not work, but
@;|{
}
}|
works.