To add to the strangeness, if one tries the following: (code (λ (x) 1 (code:comment "1") ))
Then the output is not well-formed: (λ (x) 1 ; 1 -- Éric On Jun 30, 2011, at 11:42 AM, Eric Tanter wrote: > Hi, > > There is something strange with the way comments are rendered. > > Consider: > #lang racket > (require slideshow/code) > > (code > (λ (x) 1) (code:comment "1")) > > (code > (λ (x) (code:comment "1") > 1)) > > (code > (λ (x) > 1) (code:comment "1")) > > the two first cases render as expected, but the last one puts the comment on > a new line: > (λ (x) > 1) > ; 1 > > > Is there a way to get the following output: > > (λ (x) > 1) ; 1 > > ? > > Thanks, > > -- Éric > > > > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users