5 hours ago, David Vanderson wrote:
>    (define (path . body) (b (tt "\"" body "\"")))
> 
> and with scribble syntax:
> 
>    (define @pa...@body} @b...@tt{"@body"}})
> 
> 
> Question on scribble syntax: isn't @pa...@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!
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to