My code:

#lang scribble/manual

@(require
  scribble/core
  scribble/eval
  racket
  (for-label racket)
  (for-syntax racket))

@elemtag["rearrangement" "Not important."]
@interaction[
(require racket)
(code:comment #,(list "Procedure " (racket in-permutations)
 " produces a sequence of " @elemref["rearrangement" "rearrangements"] "."))
(define (a)
 (code:comment #,(list "Procedure " (racket in-permutations)
 " produces a sequence of " @elemref["rearrangement" "rearrangements"] "."))
 (in-permutations '(1 2 3)))
(a)]

Produces the attached HTML.

Why is there a blank line following the comment within the definition?
The blank line does not appear after the comment preceding the definition.

Windows 7 Home Premium,
DrRacket, version 6.11.0.2--2017-11-12(b54ea8c5b1/a) [3m].
Language: scribble/manual [custom]; memory limit: 4000 MB.

Thanks, Jos 


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
6.11.0.2

Not important.
> (require racket)
; Procedure in-permutations produces a sequence of rearrangements.
> (define (a)
   ; Procedure in-permutations produces a sequence of rearrangements.
  
   (in-permutations '(1 2 3)))
> (a)

#<sequence>

 

Reply via email to