[racket] Scribble in continue
5 hours ago, David Vanderson wrote:
> (define (path . body) (b (tt "\"" body "\"")))
>
> and with scribble syntax:
>
> (define @path{@body} @b{@tt{"@body"}})
>
>
> Question on scribble syntax: isn't @path{@body} read as (path body)?
No -- the whole point is to read the part in the braces in text mode,
so @path{body} is read as (path "body").
> What syntax gives (path . body) ? I'm having trouble getting a . in
> there.
There's no syntax to get a dotted pair (but given the above, there's
little point in having one).
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!