You can re-use helper functions by running the different example blocks
with the same evaluator (example below).

I don't know how to hyperlink one interaction to another.

- - -

#lang scribble/manual
@require[scribble/example]

@(define my-eval (make-base-eval))

Beginning.

@examples[#:eval my-eval
  (define (plus2 n)
    (+ 2 n))
  (plus2 0)
  (plus2 1)
]

Intermission.

@examples[#:eval my-eval
  (define (plus4 n)
    (plus2 (plus2 n)))
  (plus4 0)
]

Conclusion.

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to